-
Notifications
You must be signed in to change notification settings - Fork 186
49 lines (43 loc) · 1.16 KB
/
c-cpp.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
name: C/C++ CI
on:
push:
branches: [ "llvm-14.0.6" ]
pull_request:
branches: [ "llvm-14.0.6" ]
jobs:
Ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install ninja-build
run: sudo apt install ninja-build -y
- name: Install z3
run: sudo apt install libz3-dev -y
- name: Install lld
run: sudo apt install lld -y
- name: git submodule update --init
run: git submodule update --init
- name: ./build.sh
run: ./build.sh
- name: Test tiny-aes
run: ./tests/test-aes.sh
- name: Test jsoncpp
run: ./tests/test-jsoncpp.sh
- name: Test json
run: ./tests/test-json.sh
- name: Test openssl
run: ./tests/test-openssl.sh
# Windows:
# runs-on: windows-latest
# steps:
# - uses: actions/checkout@v3
# - name: sudo apt install ninja-build -y
# run: sudo apt install ninja-build -y
# - name: git submodule update --init --recursive
# run: git submodule update --init --recursive
# - name: make build
# run: make build
# - name: make install
# run: make install
# - name: make check
# run: make check