diff options
author | Francesco Borzì <borzifrancesco@gmail.com> | 2020-08-21 12:19:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-21 12:19:02 +0200 |
commit | 2ad98c573a2b75991269030327e8d26bf3eb7bd3 (patch) | |
tree | f1446bbc1a46b95f4da27461353bce21628942c5 /.github | |
parent | ed8ed175b7285089bc9c503bd515a4609af5c388 (diff) |
feat(CI): add macOS to our CI (#3321)
Co-Authored-By: Meerd <meerd@users.noreply.github.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/core_build.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/core_build.yml b/.github/workflows/core_build.yml index 43110a1d77..65fae08ec7 100644 --- a/.github/workflows/core_build.yml +++ b/.github/workflows/core_build.yml @@ -52,6 +52,28 @@ jobs: - name: Run unit tests run: source ./apps/ci/ci-run-unit-tests.sh + mac-build: + strategy: + fail-fast: false + runs-on: macos-10.15 + name: macos-10.15 + steps: + - uses: actions/checkout@v2 + - name: Cache + uses: actions/cache@v1.1.2 + with: + path: /Users/runner/.ccache + key: ccache:macos-10.15:${{ github.ref }}:${{ github.sha }} + restore-keys: | + ccache:macos-10.15:${{ github.ref }} + ccache:macos-10.15 + - name: Configure OS + run: source ./apps/ci/mac/ci-install.sh + - name: Build + run: source ./apps/ci/mac/ci-compile.sh + - name: Run unit tests + run: source ./apps/ci/ci-run-unit-tests.sh + docker-build: strategy: fail-fast: true |