-
Notifications
You must be signed in to change notification settings - Fork 1
75 lines (63 loc) · 1.93 KB
/
main.yml
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
platform: [x86, x64]
compiler: [gcc, clang]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Exotic Libraries And Run Regression
uses: exoticlibraries/[email protected]
with:
download-exotic-libraries: true
run-regression: true
test-folder-recursive: true
selected-exotic-libraries: |
libcester
libxtd
test-folders: |
test/
test-exclude-file-pattern: |
crash_test.c
compiler-options-for-tests: |
-I. -I../include -I../../include -I../../../include -I./include
regression-cli-options: |
--cester-printversion
execute-cmake-regression:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
platform: [x64]
compiler: [gcc]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Exotic Libraries
uses: exoticlibraries/[email protected]
with:
download-exotic-libraries: true
run-regression: false
selected-exotic-libraries: |
libcester
libxtd
- name: Download Dependencies
run: |
sudo apt-get purge --auto-remove cmake
sudo mkdir /opt/cmake
sudo wget https://github.com/Kitware/CMake/releases/download/v3.17.2/cmake-3.17.2-Linux-x86_64.sh
sudo sh cmake-3.17.2-Linux-x86_64.sh --prefix=/opt/cmake --skip-license
- name: Run Cmake Regression
run: |
cd ./test/
/opt/cmake/bin/cmake CMakeLists.txt -G"Unix Makefiles"
make