-
Notifications
You must be signed in to change notification settings - Fork 20
45 lines (39 loc) · 1.11 KB
/
build.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
name: Build
on: [push]
jobs:
build-latest-windows:
name: Build on Windows - Latest
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- name: Build Windows --all-features
uses: actions-rs/cargo@v1
with:
command: build
args: --all-targets --all-features
- name: Build Windows --no-default-features
uses: actions-rs/cargo@v1
with:
command: build
args: --all-targets --no-default-features
build-latest-wasm32:
name: Build wasm32 - Latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2024-02-24
profile: minimal
target: wasm32-unknown-unknown
override: true
- name: Build wasm32
uses: actions-rs/cargo@v1
with:
command: build
args: --no-default-features --target wasm32-unknown-unknown -p resym --lib