ci: Fix for FreeBSD workflow #3293
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: FreeBSD Test | |
on: | |
push: | |
branches: | |
- "master" | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
testfreebsd: | |
runs-on: ubuntu-22.04 | |
name: Build and test on FreeBSD | |
timeout-minutes: 120 | |
strategy: | |
fail-fast: true | |
matrix: | |
bitcoind-version: ["27.1"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Test in FreeBSD | |
id: test | |
uses: vmactions/freebsd-vm@v1 | |
with: | |
usesh: true | |
prepare: | | |
pkg install -y \ | |
bash \ | |
wget \ | |
python38 \ | |
gmake \ | |
git \ | |
python \ | |
postgresql16-server \ | |
autoconf \ | |
automake \ | |
libtool \ | |
bash \ | |
gettext \ | |
sqlite3 \ | |
lowdown \ | |
curl | |
python3.8 -m ensurepip | |
python3.8 -m pip install --upgrade pip | |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly-2024-11-28 | |
run: | | |
pwd | |
ls -lah | |
whoami | |
env | |
freebsd-version | |
sysctl hw.model | |
sysctl hw.ncpu | |
sysctl hw.physmem | |
sysctl hw.usermem |