forked from chromium/crashpad
-
Notifications
You must be signed in to change notification settings - Fork 48
45 lines (39 loc) · 1.16 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
name: Build
on:
push:
branches:
- getsentry
pull_request:
jobs:
build:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
with:
submodules: "recursive"
- name: Installing Linux Dependencies
if: ${{ runner.os == 'Linux' }}
run: |
sudo apt update
sudo apt install zlib1g-dev libcurl4-openssl-dev libssl-dev libunwind-dev pkg-config
- name: Build crashpad
run: |
cmake -B cmake-build -D CRASHPAD_BUILD_TOOLS=On
cmake --build cmake-build --parallel
- name: Build crashpad with client-side stack traces
run: |
cmake -B cmake-build-stacks -D CRASHPAD_ENABLE_STACKTRACE=ON
cmake --build cmake-build-stacks --parallel
build-ios:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
with:
submodules: "recursive"
- run: |
cmake -B crashpad-xcode -GXcode -DCMAKE_SYSTEM_NAME=iOS
xcodebuild build -project crashpad-xcode/crashpad.xcodeproj