diff options
author | Kenneth Heafield <github@kheafield.com> | 2020-09-15 23:56:39 +0300 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2020-09-15 23:56:39 +0300 |
commit | f897e67e4698bb519d257c50bdccefa990dedd86 (patch) | |
tree | 3c30863e3510015857a405d46ac40c0d23731ea6 | |
parent | ada32a77770a98d5983647a8c02b5b65e18bb754 (diff) |
Try workflow for gcc5
-rw-r--r-- | .github/workflows/ubuntu-gcc5.yml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/ubuntu-gcc5.yml b/.github/workflows/ubuntu-gcc5.yml new file mode 100644 index 0000000..226163c --- /dev/null +++ b/.github/workflows/ubuntu-gcc5.yml @@ -0,0 +1,27 @@ +name: Ubuntu + +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 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 .. + - name: Compile + working-directory: build + run: cmake --build . -j2 + - name: Test + working-directory: build + run: ctest -j2 |