Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementTsang committed Nov 29, 2024
1 parent c20a806 commit b789fae
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build_releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,11 @@ jobs:
# https://github.com/cross-rs/cross/issues/1291
#
# Alas, that's why we do it with VMs.
- {
type: "freebsd",
os_release: "15.0",
target: "x86_64-unknown-freebsd",
}
- {
type: "freebsd",
os_release: "14.1",
Expand All @@ -251,7 +256,7 @@ jobs:

- name: Build (FreeBSD)
if: ${{ matrix.info.type == 'freebsd' }}
uses: vmactions/freebsd-vm@v1.0.8
uses: vmactions/freebsd-vm@debf37ca7b7fa40e19c542ef7ba30d6054a706a4 # v1.1.5
with:
release: "${{ matrix.info.os_release }}"
envs: "RUST_BACKTRACE CARGO_INCREMENTAL CARGO_PROFILE_DEV_DEBUG CARGO_HUSKY_DONT_INSTALL_HOOKS COMPLETION_DIR MANPAGE_DIR"
Expand All @@ -262,7 +267,7 @@ jobs:
sh rustup.sh --default-toolchain stable -y
run: |
. "$HOME/.cargo/env"
cargo build --release --verbose --locked --target=${{ matrix.info.target }} --features deploy
BTM_GENERATE=true BTM_BUILD_RELEASE_CALLER=${{ inputs.caller }} cargo build --release --verbose --locked --target=${{ matrix.info.target }} --features deploy
- name: Move automatically generated completion/manpage
shell: bash
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,11 @@ jobs:
# https://github.com/cross-rs/cross/issues/1291
#
# Alas, that's why we do it with VMs.
- {
type: "freebsd",
os_release: "15.0",
target: "x86_64-unknown-freebsd",
}
- {
type: "freebsd",
os_release: "14.1",
Expand All @@ -303,7 +308,7 @@ jobs:

- name: Clippy (FreeBSD)
if: ${{ matrix.info.type == 'freebsd' }}
uses: vmactions/freebsd-vm@v1.0.8
uses: vmactions/freebsd-vm@debf37ca7b7fa40e19c542ef7ba30d6054a706a4 # v1.1.5
with:
release: "${{ matrix.info.os_release }}"
envs: "RUST_BACKTRACE CARGO_INCREMENTAL CARGO_PROFILE_DEV_DEBUG CARGO_HUSKY_DONT_INSTALL_HOOKS"
Expand Down

0 comments on commit b789fae

Please sign in to comment.