-
Notifications
You must be signed in to change notification settings - Fork 14
44 lines (42 loc) · 1004 Bytes
/
ci.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
name: test
on: [push]
jobs:
build-test:
runs-on: macos-latest
env:
LOCAL_BUILD: true
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.66.0
default: true
- name: build xcframework
run: ./scripts/build-xcframework.sh
- name: Swift tests
run: swift test
rustfmt:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.66.0
default: true
components: rustfmt
- name: Clippy
run: ./scripts/ci/rustfmt.sh
clippy:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.66.0
default: true
components: clippy
- name: Clippy
run: ./scripts/ci/clippy.sh