-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (26 loc) · 932 Bytes
/
Copy pathci.yml
File metadata and controls
28 lines (26 loc) · 932 Bytes
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
name: CI
on:
push:
pull_request:
jobs:
rust:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- run: cargo fmt --all -- --check
- run: cargo clippy --workspace --all-targets -- -D warnings
- run: cargo test --workspace
- name: Verify development Runtime sandbox
run: |
cargo build -p archetype-runtime --bin archetype-sandbox-probe
scripts/verify_runtime_sandbox.sh
- name: Verify signed Runtime entitlements
run: |
cargo build --release -p arch-browser --bin arch-browser
cargo build --release -p archetype-runtime --bin archetype-runtime
scripts/verify_runtime_entitlements.sh
- run: cargo run -p arch-browser --example update_license_inventory
- run: git diff --exit-code -- THIRD_PARTY_LICENSES.md