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 }}*
|
|
@ -22,6 +22,9 @@ jobs:
|
|||
override: true
|
||||
components: rustfmt, clippy
|
||||
|
||||
- name: Update glib
|
||||
run: sudo apt-get install -y libglib2.0-dev
|
||||
|
||||
- name: Run cargo build
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue