-
-
Notifications
You must be signed in to change notification settings - Fork 5
54 lines (43 loc) · 1.19 KB
/
CLANG-Ubuntu.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
name: Build-and-Test-CLANG-Ubuntu
on:
workflow_dispatch:
push:
branches:
- main
- dev
jobs:
Build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
build_type: [Debug, Release]
steps:
- uses: actions/checkout@v4
- name: Install the latest Clang compiler.
working-directory: Source
run: |
sudo apt update
wget https://apt.llvm.org/llvm.sh
chmod u+x llvm.sh
sudo ./llvm.sh 20
- name: Install Seaborn
run: |
pip install seaborn
- name: Configure CMake
working-directory: ./
run: |
cmake -S . -B ./Build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_COMPILER=/usr/bin/clang++-20 -DJSONIFIER_TEST="TRUE"
- name: Build the Test
working-directory: ./Build
run: |
cmake --build . --config=${{matrix.build_type}}
- name: Install the Test
working-directory: ./Build
run: |
sudo cmake --install . --config=${{matrix.build_type}}
- name: Run the Test
working-directory: ./Build/Source
run: |
./Json-Performance
continue-on-error: true