chore(ci): fix glib?
parent
43f762a952
commit
d4183fd74e
|
@ -1,28 +0,0 @@
|
||||||
name: Rust static release
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ master ]
|
|
||||||
pull_request:
|
|
||||||
branches: [ master ]
|
|
||||||
|
|
||||||
env:
|
|
||||||
CARGO_TERM_COLOR: always
|
|
||||||
BUILD_TARGET: x86_64-unknown-linux-musl
|
|
||||||
BINARY_NAME: Mutiny
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Build musl binary
|
|
||||||
uses: gmiam/rust-musl-action@master
|
|
||||||
with:
|
|
||||||
args: cargo build --target $BUILD_TARGET --release
|
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
|
||||||
with:
|
|
||||||
name: ${{ env.BINARY_NAME }}
|
|
||||||
path: target/x86_64-unknown-linux-musl/release/${{ env.BINARY_NAME }}*
|
|
|
@ -21,6 +21,9 @@ jobs:
|
||||||
toolchain: nightly
|
toolchain: nightly
|
||||||
override: true
|
override: true
|
||||||
components: rustfmt, clippy
|
components: rustfmt, clippy
|
||||||
|
|
||||||
|
- name: Update glib
|
||||||
|
run: sudo apt-get install -y libglib2.0-dev
|
||||||
|
|
||||||
- name: Run cargo build
|
- name: Run cargo build
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
|
|
Loading…
Reference in New Issue