Skip to content

Commit

Permalink
feat(CI): move from Travis to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Helias committed Aug 30, 2020
1 parent 8bb51b9 commit 7b2f62f
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 77 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/core-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: core-build
on:
push:
pull_request:

jobs:
build:
strategy:
fail-fast: false
matrix:
compiler: [clang6, clang9, clang10]
runs-on: ubuntu-20.04
name: ${{ matrix.compiler }}
env:
COMPILER: ${{ matrix.compiler }}
steps:
- uses: actions/checkout@v2
with:
repository: 'azerothcore/azerothcore-wotlk'
ref: 'master'
submodules: 'recursive'
- uses: actions/checkout@v2
with:
submodules: 'recursive'
path: 'modules/mod-cfbg'
- name: Cache
uses: actions/[email protected]
with:
path: /home/runner/.ccache
key: ccache:${{ matrix.compiler }}:${{ github.ref }}:${{ github.sha }}
restore-keys: |
ccache:${{ matrix.compiler }}:${{ github.ref }}
ccache:${{ matrix.compiler }}
- name: Configure OS
run: source ./apps/ci/ci-install.sh
env:
CONTINUOUS_INTEGRATION: true
- name: Import db
run: source ./apps/ci/ci-import-db.sh
- name: Build
run: source ./apps/ci/ci-compile.sh
- name: Dry run
run: source ./apps/ci/ci-worldserver-dry-run.sh
- name: Check startup errors
run: source ./apps/ci/ci-error-check.sh
77 changes: 0 additions & 77 deletions .travis.yml

This file was deleted.

0 comments on commit 7b2f62f

Please sign in to comment.