-
Notifications
You must be signed in to change notification settings - Fork 111
91 lines (91 loc) · 2.8 KB
/
ci-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
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
name: Build plugin and loader
on:
push:
jobs:
build_windows:
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Dowload IDA SDK
shell: cmd
env:
IDA_SDK: ${{ secrets.DOWNLOAD_LINK_IDA_SDK }}
PASSWORD: ${{ secrets.ZIP_PASSWORD }}
run: |
cd ..
curl -J -L "%IDA_SDK%" -o idasdk90.zip
unzip -P "%PASSWORD%" idasdk90.zip
- name: Build efiXplorer
run: |
mkdir build
cd build
cmake .. -DIdaSdk_ROOT_DIR="../../idasdk90" -DHexRaysSdk_ROOT_DIR="../../idasdk90"
cmake --build . --config Release --parallel
- uses: actions/upload-artifact@master
with:
name: efiXplorer64.dll
path: build/efiXplorer/Release/efiXplorer64.dll
- uses: actions/upload-artifact@master
with:
name: efiXloader64.dll
path: build/efiXloader/Release/efiXloader64.dll
build_linux:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Dowload IDA SDK
shell: bash
env:
IDA_SDK: ${{ secrets.DOWNLOAD_LINK_IDA_SDK }}
PASSWORD: ${{ secrets.ZIP_PASSWORD }}
run: |
cd ..
curl -J -L "$IDA_SDK" -o idasdk90.zip
unzip -P $PASSWORD idasdk90.zip
- name: Build efiXplorer
run: |
mkdir build
cd build
cmake .. -DIdaSdk_ROOT_DIR="../../idasdk90" -DHexRaysSdk_ROOT_DIR="../../idasdk90"
cmake --build . --config Release --parallel
- uses: actions/upload-artifact@master
with:
name: efiXplorer64.so
path: build/efiXplorer/efiXplorer64.so
- uses: actions/upload-artifact@master
with:
name: efiXloader64.so
path: build/efiXloader/efiXloader64.so
build_osx:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Dowload IDA SDK
shell: bash
env:
IDA_SDK: ${{ secrets.DOWNLOAD_LINK_IDA_SDK }}
PASSWORD: ${{ secrets.ZIP_PASSWORD }}
run: |
cd ..
curl -J -L "$IDA_SDK" -o idasdk90.zip
unzip -P $PASSWORD idasdk90.zip
- name: Build efiXplorer
run: |
mkdir build
cd build
cmake .. -DIdaSdk_ROOT_DIR="../../idasdk90" -DHexRaysSdk_ROOT_DIR="../../idasdk90"
cmake --build . --config Release --parallel
- uses: actions/upload-artifact@master
with:
name: efiXplorer64.dylib
path: build/efiXplorer/efiXplorer64.dylib
- uses: actions/upload-artifact@master
with:
name: efiXloader64.dylib
path: build/efiXloader/efiXloader64.dylib