Build and Test Serial and OpenMP backends #61
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
name: Build and Test Serial and OpenMP backends | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
schedule: | |
- cron: '30 8 * * *' | |
jobs: | |
build-and-run-serial: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build-Serial | |
run: cmake -B build_serial_gnu -S . && make -C build_serial_gnu | |
- name: Test-Serial | |
run: make test -C build_serial_gnu | |
build-and-run-omp: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build-OMP | |
run: | |
cmake -DUSE_OPENMP=1 -B build_omp_gnu -S . && make -C build_omp_gnu | |
- name: Test-OMP | |
run: make test -C build_omp_gnu | |