forked from ugermann/ssplit-cpp
-
Notifications
You must be signed in to change notification settings - Fork 5
32 lines (27 loc) · 785 Bytes
/
core.yml
File metadata and controls
32 lines (27 loc) · 785 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
name: "Core build test"
on:
push:
branches: [main, master, ci-sandbox]
pull_request:
branches: [main, master, ci-sandbox]
jobs:
build-test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-latest]
internal_pcre2: ['ON', 'OFF']
name: '${{ matrix.os }}-internal_pcre2-${{ matrix.internal_pcre2 }}'
runs-on: '${{ matrix.os }}'
steps:
- uses: actions/checkout@v2
- name: cmake
run: |
cmake -E make_directory build
cd build
cmake -DSSPLIT_USE_INTERNAL_PCRE2='${{matrix.internal_pcre2}}' ..
- name: Compile
working-directory: build
run: make -j2 VERBOSE=1
- name: "Tests"
run: BINARY_DIR=build bash scripts/test.sh