Skip to content

LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust

FreeBSD CI: 4 vCPUs, git in the VM, pinned vmactions/freebsd-vm

Brandon Thomas62e16d7adcb1
diff --git a/.github/workflows/freebsd.yml b/.github/workflows/freebsd.yml
index 5f93f9978..079a3c4d8 100644
--- a/.github/workflows/freebsd.yml
+++ b/.github/workflows/freebsd.yml
@@ -28,15 +28,16 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build and test in a FreeBSD VM
- uses: vmactions/freebsd-vm@v1
+ uses: vmactions/freebsd-vm@c46abacb49f09938ca4e1702d15d836285d694cc # v1
with:
release: "14.3"
usesh: true
+ cpu: 4
mem: 12288
# Nothing to bring back; copying the target dir out of the VM fails on large builds.
copyback: false
prepare: |
- pkg install -y curl pkgconf cmake python3 libxkbcommon wayland libX11 libXcursor libXrandr libXi libxcb mesa-libs vulkan-loader gtk3 fontconfig freetype2 alsa-lib
+ pkg install -y git curl pkgconf cmake python3 libxkbcommon wayland libX11 libXcursor libXrandr libXi libxcb mesa-libs vulkan-loader gtk3 fontconfig freetype2 alsa-lib
curl -fsSL https://sh.rustup.rs | sh -s -- -y --profile minimal
run: |
. "$HOME/.cargo/env"