fix(CI): update build job to support multiple Ubuntu versions (#22413)
This commit is contained in:
parent
583c115660
commit
04547d90b3
2 changed files with 17 additions and 5 deletions
16
.github/workflows/dashboard-ci.yml
vendored
16
.github/workflows/dashboard-ci.yml
vendored
|
|
@ -26,7 +26,13 @@ env:
|
||||||
jobs:
|
jobs:
|
||||||
test-bash-scripts:
|
test-bash-scripts:
|
||||||
name: 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
|
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
|
@ -48,7 +54,13 @@ jobs:
|
||||||
|
|
||||||
build-and-test:
|
build-and-test:
|
||||||
name: Build and Integration 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
|
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
|
|
||||||
|
|
@ -148,11 +148,11 @@ function comp_compile() {
|
||||||
find "$AC_BINPATH_FULL" -mindepth 1 -maxdepth 1 -type f -exec $SUDO chmod u+s -- {} +
|
find "$AC_BINPATH_FULL" -mindepth 1 -maxdepth 1 -type f -exec $SUDO chmod u+s -- {} +
|
||||||
|
|
||||||
[[ -f "$confDir/worldserver.conf.dist" ]] && \
|
[[ -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" ]] && \
|
[[ -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" ]] && \
|
[[ -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"
|
echo "Done"
|
||||||
;;
|
;;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue