diff options
Diffstat (limited to '.github/workflows/ubuntu-gcc5-debug.yml')
-rw-r--r-- | .github/workflows/ubuntu-gcc5-debug.yml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/ubuntu-gcc5-debug.yml b/.github/workflows/ubuntu-gcc5-debug.yml new file mode 100644 index 0000000..1323828 --- /dev/null +++ b/.github/workflows/ubuntu-gcc5-debug.yml @@ -0,0 +1,27 @@ +name: Ubuntu gcc5 debug + +on: + push: + branches: [master, static] + pull_request: + branches: [master, static] + +jobs: + build: + runs-on: ubuntu-18.04 + + steps: + - uses: actions/checkout@v2 + - name: install + run: sudo apt-get install -y gcc-5 g++-5 + - name: cmake + run: | + cmake -E make_directory build + cd build + cmake -DCMAKE_C_COMPILER=gcc-5 -DCMAKE_CXX_COMPILER=g++-5 -DCMAKE_BUILD_TYPE=Debug .. + - name: Compile + working-directory: build + run: cmake --build . -j2 + - name: Test + working-directory: build + run: ctest -j2 |