-
Notifications
You must be signed in to change notification settings - Fork 37
37 lines (34 loc) · 934 Bytes
/
OSX.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
name: OSX
on:
[pull_request, workflow_dispatch]
jobs:
cross:
name: Rust ${{matrix.target}}
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
target:
# iOS targets don't work, since rust-embedded doesn't provide images.
- x86_64-apple-darwin
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
target: ${{matrix.target}}
- uses: actions-rs/cargo@v1
with:
use-cross: true
command: check
args: --target ${{matrix.target}}
- uses: actions-rs/cargo@v1
with:
use-cross: true
command: test
args: --target ${{matrix.target}}
- uses: actions-rs/cargo@v1
with:
use-cross: true
command: test
args: --target ${{matrix.target}} --features=radix,format,compact