pull/103/head
Sam Clegg 6 years ago
parent e07bd56c61
commit ca552e73d1

@ -16,25 +16,25 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
os: os:
- ubuntu-latest - windows-latest
- macos-latest
# llvm 9 build is broken on windows for now. Re-enable this when it is fixed:
# - windows-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
with: with:
submodules: true submodules: true
- name: Install ninja (Windows) - name: Install ninja (windows)
run: choco install ninja run: choco install ninja
if: matrix.os == 'windows-latest' if: matrix.os == 'windows-latest'
- name: Install ninja (macOS) - name: Install ninja (macos)
run: brew install ninja run: brew install ninja
if: matrix.os == 'macos-latest' if: matrix.os == 'macos-latest'
- name: Install ninja (Linux) - name: Install ninja (linux)
run: sudo apt install ninja-build run: sudo apt install ninja-build
if: matrix.os == 'ubuntu-latest' if: matrix.os == 'ubuntu-latest'
- name: Build - name: Build
run: sudo make -j4 package run: sudo make -j4 package
if: matrix.os != 'ubuntu-latest'
- name: Build (windows)
run: make -j4 package
- name: Run the testsuite - name: Run the testsuite
run: make check run: make check
if: matrix.os == 'ubuntu-latest' if: matrix.os == 'ubuntu-latest'

Loading…
Cancel
Save