-
Notifications
You must be signed in to change notification settings - Fork 15
49 lines (48 loc) · 1.46 KB
/
rs.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
46
47
48
49
name: Fadroma (Rust)
on: [push]
jobs:
rs-publish:
name: Cargo Check
runs-on: ubuntu-latest
env:
FORCE_COLOR: 2
CARGO_INCREMENTAL: 0
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
steps:
- name: Get the source, no submodules
uses: actions/checkout@v4
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
target: wasm32-unknown-unknown
override: true
- name: Setup Rust cache
uses: mozilla-actions/[email protected]
- name: Build Fadroma
run: |
cargo check --all-features
- name: Build Fadroma Ensemble
run: |
cd ensemble && cargo check --all-features
#rs-coverage:
#name: cargo tarpaulin
#runs-on: ubuntu-latest
#steps:
#- uses: actions/checkout@v4
#with: { submodules: true }
#- uses: actions-rs/toolchain@v1
#with:
#profile: minimal
#toolchain: stable
#target: wasm32-unknown-unknown
#override: true
#- uses: Swatinem/rust-cache@v1
#- name: Unveil Cargo.toml
#run: cp _Cargo.toml Cargo.toml
#- uses: actions-rs/[email protected]
#with:
#version: '0.18.3'
#args: '--workspace --ignore-panics --ignore-tests --exclude-files=platforms/* --coveralls ${{secrets.COVERALLS_REPO_TOKEN}} --exclude-files platforms'