Update from https://github.com/fortuno-repos/fortuno/commit/186c91596… #5
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: | |
branches: [main] | |
workflow_dispatch: | |
env: | |
INTERFACE: serial | |
jobs: | |
# | |
# Test Fortuno in various system configurations | |
# | |
fortuno-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check-out code | |
uses: actions/checkout@v4 | |
- name: Setup Intel compiler | |
uses: rscohn2/setup-oneapi@v0 | |
with: | |
components: | | |
ifx | |
- name: Setup Intel environment | |
run: | | |
source /opt/intel/oneapi/setvars.sh | |
printenv >> ${GITHUB_ENV} | |
echo "FPM_FC=ifx" >> ${GITHUB_ENV} | |
- name: Setup build tools | |
run: | | |
pip install fpm | |
- name: Test fpm export | |
run: | | |
fpm run -C test/export/${INTERFACE} testapp testapp_fpp |