-
Notifications
You must be signed in to change notification settings - Fork 130
46 lines (38 loc) · 1.08 KB
/
build.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
name: Build
on:
push:
paths:
- '.github/workflows/build.yml'
- 'ExploitGSM_5_15_to_6_1/**'
- 'ExploitGSM_6_5/**'
- 'OffsetGenerator/**'
workflow_dispatch:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install libcap-dev
run: sudo apt-get install -y libcap-dev
- name: Compile ExploitGSM_5_15_to_6_1
run: |
cmake ExploitGSM_5_15_to_6_1 -B ExploitGSM_5_15_to_6_1
cmake --build ExploitGSM_5_15_to_6_1
- name: Compile ExploitGSM_6_5
run: |
cmake ExploitGSM_6_5 -B ExploitGSM_6_5
cmake --build ExploitGSM_6_5
- name: Compile OffsetGenerator
run: |
cmake OffsetGenerator -B OffsetGenerator
cmake --build OffsetGenerator
- name: Upload
uses: actions/upload-artifact@v4
with:
name: ExploitGSM
path: |
ExploitGSM_5_15_to_6_1/ExploitGSM
ExploitGSM_6_5/ExploitGSM
OffsetGenerator/OffsetGenerator