-
Notifications
You must be signed in to change notification settings - Fork 4
37 lines (30 loc) · 735 Bytes
/
c-cpp.yml
File metadata and controls
37 lines (30 loc) · 735 Bytes
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
28
29
30
31
32
33
34
35
36
name: CreateRemdDirs Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
linux_build:
runs-on: ubuntu-latest
name: Build
strategy:
fail-fast: false
matrix:
compiler: ["gnu", "clang"]
env:
COMPILER: ${{ matrix.compiler }}
BUILD_TYPE: "install"
TEST_TYPE: "test"
steps:
- name: Install prerequisite packages
run: |
sudo apt-get install clang
- name: Checkout source code
uses: actions/checkout@v2
- name: Compile and test CreateRemdDirs
shell: bash -lex {0}
run: |
./configure ${COMPILER}
make -j2 $BUILD_TYPE
make $TEST_TYPE