-
Notifications
You must be signed in to change notification settings - Fork 12
64 lines (63 loc) · 1.58 KB
/
coverage.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
on: workflow_dispatch
env:
PYTHONIOENCODING: utf-8
PYTHONLEGACYWINDOWSSTDIO: utf-8
jobs:
check-ubuntu-x86_64:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04]
steps:
- name: Checkout git repo
uses: actions/checkout@v4
with:
path: main
submodules: 'true'
- name: Preparations
working-directory: main
run: |
git submodule init
git submodule update
sudo apt update
sudo apt install -y docker
- name: Test
working-directory: main/compiler
run: |
./cov
zip -r coverage.zip ./bin/coverage
zip -r failed.zip ./bin/fuzz
- name: Upload coverage
uses: actions/upload-artifact@v4
with:
name: coverage
path: main/compiler/*.zip
fuzz-check-ubuntu-x86_64:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04]
steps:
- name: Checkout git repo
uses: actions/checkout@v4
with:
path: main
submodules: 'true'
- name: Preparations
working-directory: main
run: |
git submodule init
git submodule update
sudo apt update
sudo apt install -y docker
- name: Test
working-directory: main/compiler
run: |
./cov
zip -r llvm-fuzz-coverage.zip ./bin/coverage
zip -r llvm-fuzz-failed.zip ./bin/fuzz
- name: Upload fuzz-coverage
uses: actions/upload-artifact@v4
with:
name: fuzz-coverage
path: main/compiler/*.zip