blob: 13238281d92073815e452fe17ca5f9ea9bc42c42 (
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 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
|