Commit 6d316be 1 parent 36f7ebd commit 6d316be Copy full SHA for 6d316be
File tree 1 file changed +9
-11
lines changed
1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change 16
16
strategy :
17
17
matrix :
18
18
include :
19
- - build : linux
20
- os : ubuntu-latest
21
- target : x86_64-unknown-linux-musl
22
-
23
19
- build : macos_x86
24
20
os : macos-latest
25
21
target : x86_64-apple-darwin
@@ -31,14 +27,21 @@ jobs:
31
27
- build : windows
32
28
os : windows-latest
33
29
target : x86_64-pc-windows-gnu
30
+
31
+ - build : linux
32
+ os : ubuntu-latest
33
+ target : x86_64-unknown-linux-musl
34
34
35
35
steps :
36
- - name : Checkout
37
- uses : actions/checkout@v3
36
+ - uses : actions/checkout@v4
38
37
39
38
- name : Get the release version from the tag
40
39
shell : bash
41
40
run : echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
41
+
42
+ - name : Install alsa.pc on Ubuntu
43
+ if : matrix.os == 'ubuntu-latest'
44
+ run : sudo apt-get install -y libasound2-dev libudev-dev librust-alsa-sys-dev
42
45
43
46
- name : Install Rust
44
47
# Or @nightly if you want
48
51
# Make Rust compile to our target (defined in the matrix)
49
52
targets : ${{ matrix.target }}
50
53
51
-
52
- - name : Install alsa.pc on Ubuntu
53
- if : matrix.os == 'ubuntu-latest'
54
- run : sudo apt-get install -y libasound2-dev libudev-dev librust-alsa-sys-dev
55
-
56
54
- name : Build
57
55
uses : actions-rs/cargo@v1
58
56
with :
You can’t perform that action at this time.
0 commit comments