Skip to content

Merge pull request #281 from laramiel/patch-3 #43

Merge pull request #281 from laramiel/patch-3

Merge pull request #281 from laramiel/patch-3 #43

Workflow file for this run

name: OSX
on:
workflow_dispatch:
pull_request:
push:
branches: [master]
concurrency:
group: ${{ github.workflow }}-${{ github.job }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
strategy:
matrix:
os:
- 11
- 12
runs-on: macos-${{ matrix.os }}
name: 'macos-${{ matrix.os }}'
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set mamba environment
uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment-dev.yml
cache-environment: true
- name: Configure
shell: bash -l {0}
run: |
mkdir -p build
cd build
cmake .. -DBUILD_TESTS=ON \
-GNinja
- name: Build
shell: bash -l {0}
run: ninja -C build test_xtl
- name: Test
run: |
cd build/test
./test_xtl