* Updates gcc to work on Ubuntu 22.04. * Force clang to use Ubuntu 20.04 until some build errors are resolved in the environment. * Adds a concurrency check to disable any active prior runs when pushing a new commit.
@@ -1,6 +1,10 @@
name: Build servers with Clang
# build_servers_clang.yml
+concurrency:
+ group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
on:
push:
branches:
@@ -22,9 +26,9 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
- # The ubuntu-latest label currently points to ubuntu-20.04.
+ # The ubuntu-latest label currently points to ubuntu-22.04.
# Available: ubuntu-22.04, ubuntu-20.04
- os: [ubuntu-latest]
+ os: [ubuntu-20.04]
# Version list can be found on https://github.com/marketplace/actions/install-clang
clang: ['6.0', '7', '8', '9', '10', '11'] #, '12', '13']
name: Build servers with CMake
# build_servers_cmake.yml
@@ -22,7 +26,7 @@ jobs:
os: [ubuntu-latest]
name: Build servers with GCC
# build_servers_gcc.yml
@@ -22,11 +26,11 @@ jobs:
# Older versions of GCC are not available via unaltered aptitude repo lists.
- gcc: ['7', '8', '9', '10']
+ gcc: ['9', '10', '11']
steps:
- uses: actions/checkout@v2
name: Build servers in Pre-Renewal and Renewal
# build_servers_modes.yml
- gcc: ['10']
+ gcc: ['11']
# We run build checks for both Renewal and PRE-Renewal
mode: ['PRE','RE']
name: Build servers with MSVS
# build_servers_msbuild.yml
name: Build servers with different packet versions
# build_servers_packetversions.yml
# Check build success for different packet-versions
name: Build servers in VIP mode
# build_servers_vip.yml
mode: ['PRE', 'RE']
@@ -4,6 +4,10 @@ name: Validate NPC Scripts and DB Changes
# For NPC and DB validation we only need two builds: one of Renewal and one for Pre-Renewal checks.
# NPC scripts and database files are not platform dependent, so we can achieve this validation using only a simple linux setup.
@@ -25,11 +29,11 @@ jobs:
# Only a single version of GCC is required for validating NPC scripts and database changes.