This repository was archived by the owner on Jul 22, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-26
lines changed Expand file tree Collapse file tree 1 file changed +2
-26
lines changed Original file line number Diff line number Diff line change 34
34
- name : Lint | Rustfmt
35
35
run : cargo fmt -- --check
36
36
37
- check :
38
- strategy :
39
- fail-fast : false
40
- matrix :
41
- os : [macos-latest, windows-latest, ubuntu-latest]
42
- runs-on : ${{ matrix.os }}
43
- steps :
44
- - name : Setup | Checkout
45
- uses : actions/checkout@v3
46
-
47
- - name : Setup | Rust
48
- uses : actions-rs/toolchain@v1
49
- with :
50
- toolchain : nightly
51
- profile : minimal
52
-
53
- - name : Setup | Ubuntu dependencies
54
- if : matrix.os == 'ubuntu-latest'
55
- run : sudo apt install libasound2-dev libudev-dev pkg-config
56
-
57
- - name : Check
58
- run : cargo check
59
-
60
37
build :
61
- needs : check
62
38
strategy :
63
39
fail-fast : false
64
40
matrix :
82
58
run : cargo build
83
59
84
60
build-wasm :
85
- needs : check
86
61
runs-on : ubuntu-latest
87
62
steps :
88
63
- name : Setup | Checkout
96
71
- name : Build | Trunk
97
72
run : |
98
73
cd launchers/wasm
74
+ trunk build
99
75
100
76
- name : Post Setup | Upload dist
101
77
uses : actions/upload-artifact@v3
113
89
uses : actions/download-artifact@v3
114
90
115
91
- name : Setup | Place dist
116
- run : mv ./artifact ./launchers/wasm/dist/
92
+ run : mv ./artifact ./launchers/wasm/dist
117
93
118
94
- name : Setup | Docker Buildx
119
95
uses : docker/setup-buildx-action@v2
You can’t perform that action at this time.
0 commit comments