Change profile guided run options. #333
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: Scorpio | |
| on: [push, pull_request] | |
| jobs: | |
| Scorpio: | |
| name: ${{ matrix.config.name }} | |
| runs-on: ${{ matrix.config.os }} | |
| env: | |
| COMPILER: ${{ matrix.config.compiler }} | |
| COMP: ${{ matrix.config.comp }} | |
| CXXFLAGS: "-Werror" | |
| strategy: | |
| matrix: | |
| config: | |
| - { | |
| name: "Ubuntu 22.04 GCC", | |
| os: ubuntu-22.04, | |
| compiler: g++, | |
| comp: gcc, | |
| } | |
| - { | |
| name: "Ubuntu 22.04 Clang", | |
| os: ubuntu-22.04, | |
| compiler: clang++, | |
| comp: clang, | |
| } | |
| defaults: | |
| run: | |
| working-directory: bin | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| fetch-depth: 0 | |
| - name: Check compiler | |
| run: | | |
| $COMPILER -v | |
| - name: Make help | |
| run: | | |
| cd ../src | |
| make help | |
| cd - | |
| - name: Test release | |
| run: | | |
| cd .. | |
| ./build.sh COMP=$COMP | |
| cd - | |
| cd ../tests | |
| ./run_tests.sh | |
| cd - |