CI: Update Linux runner to Ubuntu 18.04

Also cleanup needlessly specific dependencies.
pull/617/head
Rémi Verschelde 2021-09-26 12:15:19 +02:00
parent 1bb06e8507
commit 4b6ab10c5d
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 16 additions and 16 deletions

View File

@ -4,17 +4,17 @@ on: [push, pull_request]
jobs: jobs:
linux: linux:
name: Build (Linux, GCC) name: Build (Linux, GCC)
runs-on: ubuntu-16.04 runs-on: ubuntu-18.04
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2.3.4 uses: actions/checkout@v2
with: with:
submodules: recursive submodules: recursive
- name: Set up Python (for SCons) - name: Set up Python (for SCons)
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: '3.9.1' python-version: '3.x'
- name: Install dependencies - name: Install dependencies
run: | run: |
@ -29,9 +29,9 @@ jobs:
scons target=release generate_bindings=yes -j $(nproc) scons target=release generate_bindings=yes -j $(nproc)
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v2.2.4 uses: actions/upload-artifact@v2
with: with:
name: godot-cpp-linux-glibc2.23-x86_64-release name: godot-cpp-linux-glibc2.27-x86_64-release
path: bin/libgodot-cpp.linux.release.64.a path: bin/libgodot-cpp.linux.release.64.a
if-no-files-found: error if-no-files-found: error
@ -48,14 +48,14 @@ jobs:
runs-on: windows-2019 runs-on: windows-2019
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2.3.4 uses: actions/checkout@v2
with: with:
submodules: recursive submodules: recursive
- name: Set up Python (for SCons) - name: Set up Python (for SCons)
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: '3.9.1' python-version: '3.x'
- name: Install dependencies - name: Install dependencies
run: | run: |
@ -66,7 +66,7 @@ jobs:
scons target=release generate_bindings=yes -j $env:NUMBER_OF_PROCESSORS scons target=release generate_bindings=yes -j $env:NUMBER_OF_PROCESSORS
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v2.2.4 uses: actions/upload-artifact@v2
with: with:
name: godot-cpp-windows-msvc2019-x86_64-release name: godot-cpp-windows-msvc2019-x86_64-release
path: bin/libgodot-cpp.windows.release.64.lib path: bin/libgodot-cpp.windows.release.64.lib
@ -77,14 +77,14 @@ jobs:
runs-on: windows-2019 runs-on: windows-2019
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2.3.4 uses: actions/checkout@v2
with: with:
submodules: recursive submodules: recursive
- name: Set up Python (for SCons) - name: Set up Python (for SCons)
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: '3.9.1' python-version: '3.x'
- name: Install dependencies - name: Install dependencies
run: | run: |
@ -100,7 +100,7 @@ jobs:
scons target=release generate_bindings=yes use_mingw=yes -j $env:NUMBER_OF_PROCESSORS scons target=release generate_bindings=yes use_mingw=yes -j $env:NUMBER_OF_PROCESSORS
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v2.2.4 uses: actions/upload-artifact@v2
with: with:
name: godot-cpp-linux-mingw-x86_64-release name: godot-cpp-linux-mingw-x86_64-release
path: bin/libgodot-cpp.windows.release.64.a path: bin/libgodot-cpp.windows.release.64.a
@ -111,14 +111,14 @@ jobs:
runs-on: macos-10.15 runs-on: macos-10.15
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2.3.4 uses: actions/checkout@v2
with: with:
submodules: recursive submodules: recursive
- name: Set up Python (for SCons) - name: Set up Python (for SCons)
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: '3.9.1' python-version: '3.x'
- name: Install dependencies - name: Install dependencies
run: | run: |
@ -131,7 +131,7 @@ jobs:
scons target=release generate_bindings=yes -j $(sysctl -n hw.logicalcpu) scons target=release generate_bindings=yes -j $(sysctl -n hw.logicalcpu)
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v2.2.4 uses: actions/upload-artifact@v2
with: with:
name: godot-cpp-macos-x86_64-release name: godot-cpp-macos-x86_64-release
path: bin/libgodot-cpp.osx.release.64.a path: bin/libgodot-cpp.osx.release.64.a
@ -150,14 +150,14 @@ jobs:
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2.3.4 uses: actions/checkout@v2
with: with:
submodules: recursive submodules: recursive
- name: Set up Python (for SCons) - name: Set up Python (for SCons)
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: '3.9.1' python-version: '3.x'
- name: Install dependencies - name: Install dependencies
run: | run: |