Update iso_c_binding usage (#24). #4
This file contains hidden or 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: Make | |
| on: | |
| push: | |
| pull_request: | |
| branches: [ "master" ] | |
| jobs: | |
| GCC-build: | |
| runs-on: ${{ matrix.image }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| image: [ 'ubuntu-latest' ] | |
| GCC: [ '12', '14' ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install GCC & libraries | |
| run: sudo apt update && sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test && sudo apt install gfortran-${{ matrix.GCC }} libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libsdl2-mixer-dev libgl1 libglu1-mesa libgl1-mesa-dev libglu1-mesa-dev | |
| - name: Build | |
| run: | | |
| FC=gfortran-${{ matrix.GCC }} make all | |
| FC=gfortran-${{ matrix.GCC }} make examples |