-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from TauferLab/compilation_test
Adds GitHub Action that tests if DYAD compiles
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Compilation Testing for DYAD | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
compile: | ||
strategy: | ||
matrix: | ||
flux-images: | ||
- latest | ||
- focal | ||
- focal-v0.48.0 | ||
- focal-v0.47.0 | ||
- focal-v0.46.1 | ||
runs-on: ubuntu-20.04 # Docker-based jobs must run on Ubuntu | ||
container: strategy.flux-images | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Run autogen | ||
run: ./autogen.sh | ||
|
||
- name: Configure build | ||
run: ./configure --enable-dyad-debug CC=gcc CXX=g++ | ||
|
||
- name: Build DYAD | ||
run: make -j |