Skip to content

Use global variables instead of passing a ton of variables to the gen… #94

Use global variables instead of passing a ton of variables to the gen…

Use global variables instead of passing a ton of variables to the gen… #94

Workflow file for this run

name: Run Tests
on:
- push
- workflow_dispatch
jobs:
build_and_test:
name: Test DAWN on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
# - windows-latest # disable for now
- macos-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
submodules: true
- name: List BioCro files
if: ${{ matrix.os != 'windows-latest' }}
run: |
cd biocro-lib
git branch
ls -lR src
- name: Install xerces-c (ubuntu)
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
sudo apt-get install -y libxerces-c-dev
- name: Install xerces-c (macos)
if: ${{ matrix.os == 'macos-latest' }}
run: |
brew install xerces-c
- name: Install xerces-c (windows)
if: ${{ matrix.os == 'windows-latest' }}
run: |
choco install xqilla
- name: Build all targets
run: |
cmake -B build -S .
cmake --build build
- name: Run Tests
run: |
cd build
ctest --output-on-failure
- name: Upload Artifact
if: always()
uses: actions/upload-artifact@v3
with:
name: error_log
path: build/Testing/Temporary/*