-
Notifications
You must be signed in to change notification settings - Fork 15
36 lines (36 loc) · 1.16 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
name: Fadroma (Rust)
on: [push]
jobs:
rs-publish:
name: cargo publish --dry-run
runs-on: ubuntu-latest
steps:
- name: Get the source, no submodules
uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
target: wasm32-unknown-unknown
override: true
- name: Try building for WASM
run: cargo build --all-features --target wasm32-unknown-unknown
#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'