Fix lfmcmc printing error and add descriptive comments #522
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow uses actions that are not certified by GitHub. | |
# They are provided by a third-party and are governed by | |
# separate terms of service, privacy policy, and support | |
# documentation. | |
# | |
# See https://github.com/r-lib/actions/tree/master/examples#readme for | |
# additional example workflows available for the R community. | |
name: Tests | |
on: [push, pull_request] | |
jobs: | |
test-macos: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check | |
run: | | |
brew install llvm@14 | |
echo 'export PATH="/usr/local/opt/llvm@14/bin:$PATH"' >> /Users/runner/.bash_profile | |
cd tests && make main.a && ./main.a | |
test-macos-clang18: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check | |
run: | | |
brew install llvm@18 | |
echo 'export PATH="/usr/local/opt/llvm@18/bin:$PATH"' >> /Users/runner/.bash_profile | |
cd tests && make main.a && ./main.a | |
test-ubuntu: | |
runs-on: ubuntu-latest | |
container: gvegayon/epiworld:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check | |
env: | |
OPENMP: -fopenmp | |
run: | | |
cd tests | |
make main.o | |
./main.o |