File tree Expand file tree Collapse file tree 1 file changed +5
-42
lines changed Expand file tree Collapse file tree 1 file changed +5
-42
lines changed Original file line number Diff line number Diff line change 1
1
name : core-build
2
2
on :
3
3
push :
4
+ branches :
5
+ - ' master'
4
6
pull_request :
5
7
6
8
jobs :
7
9
build :
8
- strategy :
9
- fail-fast : false
10
- matrix :
11
- compiler : [clang]
12
- runs-on : ubuntu-latest
13
- name : ${{ matrix.compiler }}
14
- env :
15
- COMPILER : ${{ matrix.compiler }}
16
- steps :
17
- - uses : actions/checkout@v2
18
- with :
19
- repository : ' azerothcore/azerothcore-wotlk'
20
- ref : ' master'
21
- submodules : ' recursive'
22
- - uses : actions/checkout@v2
23
- with :
24
- submodules : ' recursive'
25
- path : ' modules/skeleton-module'
26
- - name : Cache
27
- uses : actions/cache@v2
28
- with :
29
- path : /home/runner/.ccache
30
- key : ccache:${{ matrix.compiler }}:${{ github.ref }}:${{ github.sha }}
31
- restore-keys : |
32
- ccache:${{ matrix.compiler }}:${{ github.ref }}
33
- ccache:${{ matrix.compiler }}
34
- - name : Configure OS
35
- run : source ./acore.sh install-deps
36
- env :
37
- CONTINUOUS_INTEGRATION : true
38
- - name : Create conf/config.sh
39
- run : source ./apps/ci/ci-conf.sh
40
- - name : Import db
41
- run : source ./apps/ci/ci-import-db.sh
42
- - name : Build
43
- run : source ./apps/ci/ci-compile.sh
44
- - name : Dry run
45
- run : source ./apps/ci/ci-worldserver-dry-run.sh
46
- - name : Check startup errors
47
- run : source ./apps/ci/ci-error-check.sh
48
- - name : Run unit tests
49
- run : source ./apps/ci/ci-run-unit-tests.sh
10
+ uses : azerothcore/reusable-workflows/.github/workflows/core_build_modules.yml@main
11
+ with :
12
+ module_repo : ${{ github.event.repository.name }}
You can’t perform that action at this time.
0 commit comments