Skip to content

Commit

Permalink
Merge branch 'develop' into lroberts36/add-fine-variables
Browse files Browse the repository at this point in the history
  • Loading branch information
lroberts36 authored May 22, 2024
2 parents 22bfe57 + d4a0b1e commit 247fc59
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/ci-macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: CI macOS

on: [pull_request]

# Cancel "duplicated" workflows triggered by pushes to internal
# branches with associated PRs.
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

env:
CTEST_OUTPUT_ON_FAILURE: 1
CMAKE_BUILD_PARALLEL_LEVEL: 4 # num threads for build

jobs:
build:
runs-on: macos-latest

steps:
- uses: actions/checkout@v4
with:
submodules: true

- uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip' # caching pip dependencies

- name: Configure
run: |
cmake -B build \
-DCMAKE_BUILD_TYPE=Release \
- name: Build
run: cmake --build build

- name: Test
run: |
cd build
ctest -LE 'regression'
- uses: actions/upload-artifact@v3
with:
name: configure-log-unit-macos
path: build/CMakeFiles/CMakeOutput.log
retention-days: 3

0 comments on commit 247fc59

Please sign in to comment.