Skip to content

Commit

Permalink
fixup! Add a Github Actions config
Browse files Browse the repository at this point in the history
  • Loading branch information
ldionne committed Nov 10, 2023
1 parent 5af603b commit 402d9c1
Showing 1 changed file with 22 additions and 8 deletions.
30 changes: 22 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,36 @@ jobs:
strategy:
fail-fast: false
matrix:
os:
- windows-latest
- ubuntu-latest
- macos-latest
compiler:
- llvm
- gcc
include:
- os: macos-latest
xcode-version: latest-stable
- os: macos-latest
compiler: [llvm, gcc]
- os: windows-latest
compiler: [llvm, gcc]
- os: ubuntu-latest
compiler: [llvm, gcc]

steps:
- name: Setup build environment
uses: aminya/setup-cpp@v1
with:
compiler: ${{ matrix.compiler }}
vcvarsall: ${{ contains(matrix.os, 'windows') }}
cmake: true
ninja: true

- name: Setup compiler
uses: aminya/setup-cpp@v1
if: ${{ matrix.compiler }}
with:
compiler: ${{ matrix.compiler }}

- name: Install Xcode
uses: maxim-lobanov/setup-xcode@v1
if: ${{ matrix.xcode-version }}
with:
xcode-version: ${{ matrix.xcode-version }}

- name: Checkout source code
uses: actions/checkout@v3

Expand Down

0 comments on commit 402d9c1

Please sign in to comment.