diff options
author | Yehonal <yehonal.azeroth@gmail.com> | 2025-07-03 11:03:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-03 11:03:16 +0200 |
commit | 04547d90b3a9b0b530c867467562945bd089ef0d (patch) | |
tree | 4a70a365969dcacbfcf857593e891f2e14c90d27 | |
parent | 583c1156608ea355200d9aaefd982371b6e3941d (diff) |
fix(CI): update build job to support multiple Ubuntu versions (#22413)
-rw-r--r-- | .github/workflows/dashboard-ci.yml | 16 | ||||
-rw-r--r-- | apps/compiler/includes/functions.sh | 6 |
2 files changed, 17 insertions, 5 deletions
diff --git a/.github/workflows/dashboard-ci.yml b/.github/workflows/dashboard-ci.yml index 5e56cb1c87..25843a6906 100644 --- a/.github/workflows/dashboard-ci.yml +++ b/.github/workflows/dashboard-ci.yml @@ -26,7 +26,13 @@ env: jobs: test-bash-scripts: name: Test Bash Scripts - runs-on: ubuntu-24.04 + strategy: + fail-fast: true + matrix: + include: + - os: ubuntu-22.04 + - os: ubuntu-24.04 + runs-on: ${{ matrix.os }} if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft steps: - name: Checkout repository @@ -48,7 +54,13 @@ jobs: build-and-test: name: Build and Integration Test - runs-on: ubuntu-24.04 + strategy: + fail-fast: true + matrix: + include: + - os: ubuntu-22.04 + - os: ubuntu-24.04 + runs-on: ${{ matrix.os }} if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft steps: - name: Checkout repository diff --git a/apps/compiler/includes/functions.sh b/apps/compiler/includes/functions.sh index 2299918187..5f9581e7ce 100644 --- a/apps/compiler/includes/functions.sh +++ b/apps/compiler/includes/functions.sh @@ -148,11 +148,11 @@ function comp_compile() { find "$AC_BINPATH_FULL" -mindepth 1 -maxdepth 1 -type f -exec $SUDO chmod u+s -- {} + [[ -f "$confDir/worldserver.conf.dist" ]] && \ - cp -v --update=none "$confDir/worldserver.conf.dist" "$confDir/worldserver.conf" + cp -v --no-clobber "$confDir/worldserver.conf.dist" "$confDir/worldserver.conf" [[ -f "$confDir/authserver.conf.dist" ]] && \ - cp -v --update=none "$confDir/authserver.conf.dist" "$confDir/authserver.conf" + cp -v --no-clobber "$confDir/authserver.conf.dist" "$confDir/authserver.conf" [[ -f "$confDir/dbimport.conf.dist" ]] && \ - cp -v --update=none "$confDir/dbimport.conf.dist" "$confDir/dbimport.conf" + cp -v --no-clobber "$confDir/dbimport.conf.dist" "$confDir/dbimport.conf" echo "Done" ;; |