mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-10 04:40:25 +01:00
Pin GitHub-hosted runner versions
- ubuntu-latest -> ubuntu-22.04 - macos-latest -> macos-12 - windows-latest -> windows-2022
This commit is contained in:
parent
6fce61364d
commit
8b5caafbc7
1 changed files with 15 additions and 15 deletions
30
.github/workflows/main.yml
vendored
30
.github/workflows/main.yml
vendored
|
@ -15,7 +15,7 @@ env:
|
||||||
jobs:
|
jobs:
|
||||||
build_docker:
|
build_docker:
|
||||||
name: 'Build Docker (linux, ${{ matrix.target }}, ${{ matrix.bits }})'
|
name: 'Build Docker (linux, ${{ matrix.target }}, ${{ matrix.bits }})'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -69,11 +69,11 @@ jobs:
|
||||||
bits: [ 64, 32 ]
|
bits: [ 64, 32 ]
|
||||||
include:
|
include:
|
||||||
- platform: javascript
|
- platform: javascript
|
||||||
os: ubuntu-latest
|
os: ubuntu-22.04
|
||||||
- platform: osx
|
- platform: osx
|
||||||
os: macos-latest
|
os: macos-12
|
||||||
- platform: windows
|
- platform: windows
|
||||||
os: windows-latest
|
os: windows-2022
|
||||||
exclude:
|
exclude:
|
||||||
- platform: javascript
|
- platform: javascript
|
||||||
bits: 64 # Currently only wasm32 is supported.
|
bits: 64 # Currently only wasm32 is supported.
|
||||||
|
@ -108,14 +108,14 @@ jobs:
|
||||||
if: ${{ matrix.platform == 'javascript' }}
|
if: ${{ matrix.platform == 'javascript' }}
|
||||||
run: sudo apt-get update && sudo apt-get install -y scons gcc-multilib g++-multilib
|
run: sudo apt-get update && sudo apt-get install -y scons gcc-multilib g++-multilib
|
||||||
- name: Install additional macos build dependencies
|
- name: Install additional macos build dependencies
|
||||||
if: ${{ matrix.os == 'macos-latest' }}
|
if: ${{ matrix.os == 'macos-12' }}
|
||||||
run: brew install scons
|
run: brew install scons
|
||||||
- name: Install additional windows build dependencies
|
- name: Install additional windows build dependencies
|
||||||
if: ${{ matrix.os == 'windows-latest' }}
|
if: ${{ matrix.os == 'windows-2022' }}
|
||||||
run: python -m pip install scons
|
run: python -m pip install scons
|
||||||
- name: Setup MSVC command prompt
|
- name: Setup MSVC command prompt
|
||||||
uses: ilammy/msvc-dev-cmd@v1
|
uses: ilammy/msvc-dev-cmd@v1
|
||||||
if: ${{ matrix.os == 'windows-latest' }}
|
if: ${{ matrix.os == 'windows-2022' }}
|
||||||
with:
|
with:
|
||||||
arch: win${{ matrix.bits }}
|
arch: win${{ matrix.bits }}
|
||||||
- name: Build godot-cpp bindings
|
- name: Build godot-cpp bindings
|
||||||
|
@ -128,7 +128,7 @@ jobs:
|
||||||
uses: jwlawson/actions-setup-cmake@v1
|
uses: jwlawson/actions-setup-cmake@v1
|
||||||
with:
|
with:
|
||||||
cmake-version: '3.23.2'
|
cmake-version: '3.23.2'
|
||||||
use-32bit: ${{ matrix.bits == 32 && matrix.os == 'windows-latest' }}
|
use-32bit: ${{ matrix.bits == 32 && matrix.os == 'windows-2022' }}
|
||||||
- name: Build libuv
|
- name: Build libuv
|
||||||
if: steps.cache-submodules.outputs.cache-hit != 'true'
|
if: steps.cache-submodules.outputs.cache-hit != 'true'
|
||||||
shell: bash
|
shell: bash
|
||||||
|
@ -145,7 +145,7 @@ jobs:
|
||||||
else
|
else
|
||||||
args="$args -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDebugDLL"
|
args="$args -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDebugDLL"
|
||||||
fi
|
fi
|
||||||
if [ "$BITS" -eq 32 -a "$OS" == "windows-latest" ]; then
|
if [ "$BITS" -eq 32 -a "$OS" == "windows-2022" ]; then
|
||||||
cmake -G "Visual Studio 17 2022" -A Win32 -S $(pwd) -B "build" $args
|
cmake -G "Visual Studio 17 2022" -A Win32 -S $(pwd) -B "build" $args
|
||||||
else
|
else
|
||||||
mkdir build || true
|
mkdir build || true
|
||||||
|
@ -171,7 +171,7 @@ jobs:
|
||||||
html5_export:
|
html5_export:
|
||||||
name: 'HTML5 Export'
|
name: 'HTML5 Export'
|
||||||
needs: [ build_docker, build_native ]
|
needs: [ build_docker, build_native ]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Setup Godot
|
- name: Setup Godot
|
||||||
|
@ -229,11 +229,11 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ windows-latest, macos-latest, ubuntu-latest ]
|
os: [ windows-2022, macos-12, ubuntu-22.04 ]
|
||||||
bits: [ 64, 32 ]
|
bits: [ 64, 32 ]
|
||||||
godot_version: [ 'v3.4.5-stable', 'v3.5-stable' ]
|
godot_version: [ 'v3.4.5-stable', 'v3.5-stable' ]
|
||||||
exclude:
|
exclude:
|
||||||
- os: macos-latest
|
- os: macos-12
|
||||||
bits: 32
|
bits: 32
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -256,7 +256,7 @@ jobs:
|
||||||
timeout_minutes: 5
|
timeout_minutes: 5
|
||||||
max_attempts: 6
|
max_attempts: 6
|
||||||
- name: Run unix tests
|
- name: Run unix tests
|
||||||
if: ${{ matrix.os != 'windows-latest' }}
|
if: ${{ matrix.os != 'windows-2022' }}
|
||||||
uses: nick-fields/retry@v2
|
uses: nick-fields/retry@v2
|
||||||
with:
|
with:
|
||||||
command: godot --no-window -s addons/gut/gut_cmdln.gd -gconfig=test/.gutconfig.unix.json
|
command: godot --no-window -s addons/gut/gut_cmdln.gd -gconfig=test/.gutconfig.unix.json
|
||||||
|
@ -268,7 +268,7 @@ jobs:
|
||||||
# Git archive should only include addons/godot_xterm directory.
|
# Git archive should only include addons/godot_xterm directory.
|
||||||
check-archive:
|
check-archive:
|
||||||
name: 'Check Archive'
|
name: 'Check Archive'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
|
@ -302,7 +302,7 @@ jobs:
|
||||||
|
|
||||||
check-code-format:
|
check-code-format:
|
||||||
name: 'Check Code Format'
|
name: 'Check Code Format'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
|
|
Loading…
Reference in a new issue