blob: e160849851c4f5c1b0009d5047ecd9b304990abe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
name: Ubuntu gcc5
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
|