Skip to content

Commit

Permalink
Add GitHub Action to test PATO
Browse files Browse the repository at this point in the history
  • Loading branch information
amatria committed Aug 21, 2024
1 parent 1f2355e commit e1b35e2
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/Compile-and-test-PATO.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
on:
push:
branches:
- master
pull_request:

jobs:
Compile-and-test-PATO:
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Configure PATO
run: cmake -B build .
working-directory: ${{ github.workspace }}
- name: Compile PATO
run: make -C build
working-directory: ${{ github.workspace }}
- name: Test PATO
run: bash test/test.bash
working-directory: ${{ github.workspace }}
- name: Configure PATO (OpenMP disabled)
run: cmake -B build -D PATO_ENABLE_OPENMP=OFF .
working-directory: ${{ github.workspace }}
- name: Compile PATO (OpenMP disabled)
run: make -C build
working-directory: ${{ github.workspace }}
- name: Test PATO (OpenMP disabled)
run: bash test/test.bash
working-directory: ${{ github.workspace }}

0 comments on commit e1b35e2

Please sign in to comment.