Added test for uniq strings #15
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: Build and Test on Linux | |
| on: [push, pull_request] | |
| jobs: | |
| build-linux: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| sharedlibs: [ON, OFF] | |
| toolchain: | |
| - {compiler: gcc, version: 12} | |
| - {compiler: gcc, version: 13} | |
| - {compiler: gcc, version: 14} | |
| - {compiler: intel-classic, version: 2021.9} | |
| steps: | |
| - name: checkout-fortran-strings | |
| uses: actions/checkout@v3 | |
| with: | |
| path: fortran-strings | |
| - name: setup-fortran | |
| uses: awvwgk/setup-fortran@v1 | |
| with: | |
| compiler: ${{ matrix.toolchain.compiler }} | |
| version: ${{ matrix.toolchain.version }} | |
| - name: build and test | |
| run: | | |
| cd fortran-strings | |
| mkdir build | |
| cd build | |
| cmake -DBUILD_SHARED_LIBS=${{ matrix.sharedlibs }} .. | |
| make VERBOSE=1 | |
| make test |