From d4183fd74e22277648ff6a24bc458baaecc3a853 Mon Sep 17 00:00:00 2001 From: Paul Makles Date: Sat, 5 Mar 2022 01:45:35 +0000 Subject: [PATCH] chore(ci): fix glib? --- .github/workflows/release.yml | 28 ---------------------------- .github/workflows/rust.yaml | 3 +++ 2 files changed, 3 insertions(+), 28 deletions(-) delete mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 6be7657..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -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 }}* \ No newline at end of file diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index 4386b19..db9e0f2 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -21,6 +21,9 @@ jobs: toolchain: nightly 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