Skip to content

Fix .default for constants. #120

Fix .default for constants.

Fix .default for constants. #120

Workflow file for this run

name: build
on: [push]
permissions:
contents: read
jobs:
all:
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }}${{ matrix.name_extra }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest]
cmake_extra: [""]
name_extra: [""]
steps:
- name: checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: install python and pip
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: install dependencies (Windows)
if: ${{ runner.os == 'Windows' }}
uses: ilammy/msvc-dev-cmd@v1.4.1
- name: prepare build directory and install nihtest
run: |
cmake -E make_directory ${{runner.workspace}}/build
pip install nihtest
- name: configure (Unix)
if: ${{ runner.os != 'Windows' }}
working-directory: ${{runner.workspace}}/build
run: |
cmake ${{ matrix.cmake_extra }} ${{github.workspace}}
- name: configure (Windows)
if: ${{ runner.os == 'Windows' }}
working-directory: ${{runner.workspace}}/build
run: |
cmake ${{ matrix.cmake_extra }} ${{github.workspace}}
- name: build
working-directory: ${{runner.workspace}}/build
run: |
cmake --build . --config Release
- name: test
working-directory: ${{runner.workspace}}/build
run: |
ctest --output-on-failure -v -C Release