-
Notifications
You must be signed in to change notification settings - Fork 12
47 lines (41 loc) · 1.13 KB
/
build.yml
File metadata and controls
47 lines (41 loc) · 1.13 KB
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
name: build
on:
push:
branches: ["**"]
pull_request:
branches: ["**"]
workflow_dispatch:
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build (${{ matrix.os }})
runs-on: ${{ matrix.runner }}
strategy:
fail-fast: false
matrix:
include:
- os: Linux
runner: ubuntu-latest
- os: macOS
runner: macos-latest
- os: Windows
runner: windows-latest
env:
IDASDK: ${{ github.workspace }}/ida-sdk/src
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup IDA SDK
shell: bash
run: |
git clone --depth 1 https://github.com/HexRaysSA/ida-sdk ida-sdk
git clone --depth 1 https://github.com/allthingsida/ida-cmake.git "${IDASDK}/ida-cmake"
git clone --depth 1 https://github.com/allthingsida/idacpp.git "${IDASDK}/include/idacpp"
- name: Configure
shell: bash
run: cmake -B build -DCMAKE_BUILD_TYPE=Release
- name: Build
shell: bash
run: cmake --build build --config Release