Skip to content

Bump actions/deploy-pages from 1 to 4 #92

Bump actions/deploy-pages from 1 to 4

Bump actions/deploy-pages from 1 to 4 #92

Workflow file for this run

name: macOS unit
# adapted from: https://github.com/trase-cpp/trase/tree/master/.github/workflows
on:
push:
branches:
# - main
- develop
pull_request:
branches:
- '**'
jobs:
build-and-test:
name: macOS unit
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Install libomp without linking
run: |
brew install libomp llvm && brew link --force libomp
- name: Make build directory
run: mkdir build_dir
- name: CMake configure
run: |
cmake .. -DCMAKE_BUILD_TYPE=Debug -DDTWC_BUILD_TESTING=ON
working-directory: build_dir
- name: CMake build
run: |
cmake --build . --parallel 2
working-directory: build_dir
- name: CMake test
run: |
ctest -j2 -C Debug --output-on-failure
working-directory: build_dir