-
-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (47 loc) · 1.37 KB
/
continuous_integration.yaml
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: Continuous Integration
on: [pull_request, push]
jobs:
build:
name: Build
runs-on: ${{matrix.runs-on}}
strategy:
matrix:
target: [
aarch64-apple-darwin,
aarch64-apple-ios,
aarch64-linux-android,
x86_64-apple-darwin,
x86_64-apple-ios,
x86_64-linux-android,
x86_64-pc-windows-msvc,
x86_64-unknown-linux-gnu,
]
include:
- target: aarch64-apple-darwin
runs-on: macos-14
- target: aarch64-apple-ios
runs-on: macos-14
- target: aarch64-linux-android
runs-on: macos-12
- target: x86_64-apple-darwin
runs-on: macos-14
- target: x86_64-apple-ios
runs-on: macos-14
- target: x86_64-linux-android
runs-on: macos-12
- target: x86_64-pc-windows-msvc
runs-on: windows-2022
- target: x86_64-unknown-linux-gnu
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Generate .cargo/config.toml
env:
CARGO_CONFIG_TOML: ${{secrets.CARGO_CONFIG_TOML}}
run: |
mkdir .cargo
echo "${CARGO_CONFIG_TOML}" >> .cargo/config.toml
- name: Build breakpad.rs
run: cargo build --target=${{matrix.target}}