Commit 8e62654b1d

8e62654b1ddb4772db69e277c23eb74e459be779

parent: 5adf31cac2

Unsigned

Pooya Moradi <pvonmoradi@gmail.com> · 2021-07-28 06:52 UTC

github: Remove musl target from release workflow since its not supported yet

Layout: unified · split

.github/workflows/release.yml +1 −42
@@ -1,48 +1,8 @@
11on: [push]
22
3name: build-and-test-and-release
3name: build-test-release
44
55jobs:
6 x86_64_musl:
7 name: Ubuntu 18.04
8 runs-on: ubuntu-18.04
9 strategy:
10 matrix:
11 rust:
12 - stable
13 steps:
14 - name: Checkout sources
15 uses: actions/checkout@v2
16
17 - name: Install toolchain
18 uses: actions-rs/toolchain@v1
19 with:
20 toolchain: stable
21 target: x86_64-unknown-linux-musl
22 override: true
23
24 - name: Install dependencies for musl libc
25 run: |
26 sudo apt-get update
27 sudo apt-get install musl-tools
28 - name: Run cargo build
29 uses: actions-rs/cargo@v1
30 with:
31 command: build
32 args: --release --target x86_64-unknown-linux-musl
33
34 - name: Run cargo test
35 uses: actions-rs/cargo@v1
36 with:
37 command: test
38 args: --target x86_64-unknown-linux-musl
39
40 - name: Upload binary
41 uses: actions/upload-artifact@v2
42 with:
43 name: 'weechat-matrix-rs-x86_64-unknown-linux-musl'
44 path: target/x86_64-unknown-linux-musl/release/weechat-matrix-rs
45
466 x86_64_glibc:
477 name: Ubuntu 18.04 (glibc)
488 runs-on: ubuntu-18.04
@@ -77,4 +37,3 @@ jobs:
7737 with:
7838 name: 'weechat-matrix-rs-x86_64-unknown-linux-gnu'
7939 path: target/release/weechat-matrix-rs
80