Skip to content

Commit 2b1fad6

Browse files
authored
Merge pull request #1 from cppp-project/dev
Dev
2 parents 6e2b31f + 7ba0f07 commit 2b1fad6

File tree

766 files changed

+15780
-96614
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

766 files changed

+15780
-96614
lines changed

.github/workflows/test.yml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: Test
2+
3+
on:
4+
release:
5+
types: [published]
6+
push:
7+
branches: [ "main" ]
8+
workflow_dispatch:
9+
10+
jobs:
11+
test-linux:
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
#--------------------------------------------collect--------------------------------------------
17+
- uses: actions/checkout@v3
18+
19+
- name: Collect dependencies
20+
run: |
21+
sudo apt-get update
22+
sudo apt-get install gcc cmake -y
23+
24+
#--------------------------------------------build--------------------------------------------
25+
- name: Build
26+
run : |
27+
mkdir build
28+
cd build
29+
cmake .. -DENABLE_EXTRA=ON -DENABLE_TEST=ON
30+
31+
#--------------------------------------------test--------------------------------------------
32+
- name: Test
33+
run : |
34+
ctest --verbose --output-on-failure
35+
36+
37+
test-macos:
38+
39+
runs-on: macos-latest
40+
41+
steps:
42+
#--------------------------------------------collect--------------------------------------------
43+
- uses: actions/checkout@v3
44+
45+
- name: Collect dependencies
46+
run: |
47+
brew install cmake -y
48+
49+
#--------------------------------------------build--------------------------------------------
50+
- name: Build
51+
run : |
52+
mkdir build
53+
cd build
54+
cmake .. -DENABLE_EXTRA=ON -DENABLE_TEST=ON
55+
56+
#--------------------------------------------test--------------------------------------------
57+
- name: Test
58+
run : |
59+
ctest --verbose --output-on-failure

0 commit comments

Comments
 (0)