PdfCraft: An open-source PDF reader and editor written by scratch in pure Rust
FreeBSD CI: git safe.directory, 4 vCPUs, pinned vmactions/freebsd-vm
Brandon Thomas49d2a2040c20
diff --git a/.github/workflows/freebsd.yml b/.github/workflows/freebsd.ymlindex 0b219dd38..9dc8fe0b9 100644--- a/.github/workflows/freebsd.yml+++ b/.github/workflows/freebsd.yml@@ -28,10 +28,11 @@ jobs:steps:- uses: actions/checkout@v4- name: Build and test in a FreeBSD VM- uses: vmactions/freebsd-vm@v1+ uses: vmactions/freebsd-vm@c46abacb49f09938ca4e1702d15d836285d694cc # v1with:release: "14.3"usesh: true+ cpu: 4mem: 12288# Nothing to bring back; copying the target dir out of the VM fails on large builds.copyback: false@@ -40,6 +41,8 @@ jobs:curl -fsSL https://sh.rustup.rs | sh -s -- -y --profile minimalrun: |. "$HOME/.cargo/env"+ # The checkout is synced in under another owner; let tests that call git read it.+ git config --global --add safe.directory "*"rustc --versionCARGO_PROFILE_DEV_DEBUG=0 cargo build --workspace --all-targets --lockedCARGO_PROFILE_DEV_DEBUG=0 cargo test --workspace --locked