From 013e293824bea4ae3aa4e55172b9579f74c25f4f Mon Sep 17 00:00:00 2001 From: WanderingPenwing Date: Mon, 22 Jul 2024 16:42:03 +0200 Subject: [PATCH] workflow try 4... tinyfile... --- .github/workflows/release.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1904ece..fe7a7c3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,19 +29,18 @@ jobs: toolchain: stable override: true - - name: Install mingw-w64 for Windows target - if: matrix.target == 'x86_64-pc-windows-gnu' - run: sudo apt-get install mingw-w64 - - - name: Install musl-tools for Linux target - if: matrix.target == 'x86_64-unknown-linux-musl' - run: sudo apt-get install musl-tools - - name: Install target run: rustup target add ${{ matrix.target }} + - name: Install dependencies for tinyfiledialogs + if: matrix.target == 'x86_64-unknown-linux-musl' + run: | + sudo apt-get update + sudo apt-get install -y libx11-dev libglib2.0-dev + - name: Compile the app - run: cargo build --release --target ${{ matrix.target }} + run: | + cargo build --release --target ${{ matrix.target }} - name: Create tarball run: |