SCons: Bump minimum SCons & Python versions

SCons: 3.1.2 → 4.0
Python: 3.6 → 3.8
This commit is contained in:
Thaddeus Crews 2024-11-12 10:21:12 -06:00
parent caff0ff591
commit 66fe2c8b44
No known key found for this signature in database
GPG key ID: 62181B86FE9E5D84
5 changed files with 8 additions and 19 deletions

View file

@ -27,6 +27,5 @@ runs:
shell: bash
run: |
python -c "import sys; print(sys.version)"
python -m pip install wheel
python -m pip install scons==${{ inputs.scons-version }}
scons --version

View file

@ -17,8 +17,8 @@ concurrency:
jobs:
build-linux:
# If unspecified, stay one LTS before latest to increase portability of Linux artifacts.
runs-on: ${{ matrix.os || 'ubuntu-22.04' }}
# Stay one LTS before latest to increase portability of Linux artifacts.
runs-on: ubuntu-22.04
name: ${{ matrix.name }}
strategy:
fail-fast: false
@ -61,8 +61,6 @@ jobs:
artifact: false
# Test our oldest supported SCons/Python versions on one arbitrary editor build.
legacy-scons: true
# Python 3.6 unavailable on 22.04.
os: ubuntu-20.04
- name: Editor with ThreadSanitizer (target=editor, tests=yes, dev_build=yes, use_tsan=yes, use_llvm=yes, linker=lld)
cache-name: linux-editor-thread-sanitizer
@ -132,8 +130,8 @@ jobs:
uses: ./.github/actions/godot-deps
with:
# Sync with Ensure*Version in SConstruct.
python-version: 3.6
scons-version: 3.1.2
python-version: 3.8
scons-version: 4.0
- name: Setup GCC problem matcher
uses: ammaraskar/gcc-problem-matcher@master