diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a5b37cb..3919f69 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,12 +41,26 @@ jobs: run: rustup target add ${{ matrix.target }} - name: Install dependencies for tinyfiledialogs - if: matrix.target == 'x86_64-unknown-linux-musl' run: | sudo apt-get install -y libx11-dev libglib2.0-dev + - name: Check Rust target installation + run: rustup target list --installed + - name: Compile the app - run: cargo build --release --target ${{ matrix.target }} + run: | + echo "Compiling for target: ${{ matrix.target }}" + cargo build --release --target ${{ matrix.target }} + + - name: Debugging - Check compiled binary + run: | + echo "Listing the compiled files:" + ls -lh target/${{ matrix.target }}/release/ + + - name: Run the app (for testing purposes) + run: | + echo "Running the compiled app for testing" + target/${{ matrix.target }}/release/calcifer --help || true - name: Create tarball run: |