diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cb137aa..52eb5f1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -104,6 +104,7 @@ jobs: build_binary_windows: runs-on: windows-latest strategy: + fail-fast: false matrix: target: - x86_64-pc-windows-msvc @@ -140,13 +141,35 @@ jobs: name: ${{ matrix.target }} path: target/${{ matrix.target }}/release/znotify-${{ matrix.target }}.exe + verify_artifacts: + if: github.event_name == 'pull_request' + needs: [ build_binary_linux, build_binary_macos, build_binary_windows ] + runs-on: ubuntu-latest + steps: + - name: Download PR artifacts + uses: actions/download-artifact@v7.0.0 + with: + path: binary + - name: Verify platform binaries + shell: bash + run: | + for target in x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu; do + test -s "binary/$target/release/znotify-$target" + done + for target in x86_64-apple-darwin aarch64-apple-darwin; do + test -s "binary/$target/znotify-$target" + done + for target in x86_64-pc-windows-msvc aarch64-pc-windows-msvc; do + test -s "binary/$target/znotify-$target.exe" + done + release_nightly: if: github.event_name == 'push' needs: [ build_binary_linux, build_binary_macos, build_binary_windows ] runs-on: ubuntu-latest steps: - name: Get all artifacts - uses: actions/download-artifact@v4.3.0 + uses: actions/download-artifact@v7.0.0 with: path: binary @@ -181,7 +204,7 @@ jobs: pip install -r scripts/requirements.txt - name: Get all artifacts - uses: actions/download-artifact@v4.3.0 + uses: actions/download-artifact@v7.0.0 with: path: binary diff --git a/Cargo.lock b/Cargo.lock index 177dc98..bd1b7e8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -880,9 +880,9 @@ checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a" [[package]] name = "libgit2-sys" -version = "0.18.0+1.9.0" +version = "0.18.1+1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1a117465e7e1597e8febea8bb0c410f1c7fb93b1e1cddf34363f8390367ffec" +checksum = "e1dcb20f84ffcdd825c7a311ae347cce604a6f084a767dec4a4929829645290e" dependencies = [ "cc", "libc",