123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- name: CI
- on:
- push:
- branches: [ "master" ]
- pull_request:
- branches: [ "master" ]
- workflow_dispatch:
- jobs:
- included:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v3
- - name: update
- run: |
- sudo apt update
- sudo apt install gfortran-11 gcc-11 python3
- - name: configure
- run: cmake .
- env:
- FC: gfortran-11
- CXX: g++-11
- CC: gcc-11
- - name: build
- run: make
- - name: test
- run: ctest --output-on-failure
- # rebuild:
- # runs-on: ubuntu-latest
- # steps:
- # - uses: actions/checkout@v3
- # - name: update
- # run: |
- # sudo apt update
- # sudo apt install gcc-11 gfortran-11 python3 guile-3.0
- # - name: configure
- # run: cmake .
- # env:
- # FC: gfortran-11
- # CXX: g++-11
- # CC: gcc-11
- # LD_LIBRARY_PATH: $LD_LIBRARY_PATH:. # for test/test-3
- # - name: build
- # run: make
- # - name: test
- # run: ctest --output-on-failure
|