CFFI Example #188
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
# make sure steps are run in a login shell to support Lmod modules | |
defaults: | |
run: | |
shell: bash -l {0} | |
jobs: | |
style: | |
runs-on: ubuntu-20.04 | |
env: | |
WORKDIR: ./lectures/13_testing/autotools_with_tests | |
container: | |
image: uvilla/class-ci:latest | |
options: --user root --privileged | |
name: GSL test | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Query modules loaded | |
run: module list | |
- name: Where am I | |
run: pwd | |
- name: Configure | |
run: cd $WORKDIR && ml gsl && autoreconf -f -i && ./configure | |
- name: Build and test | |
run: cd $WORKDIR && ml gsl && make check | |
- name: Output | |
run: cat $WORKDIR/test/test-suite.log |