github: Update FreeBSD Test #2042
Workflow file for this run
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: | |
jobs: | |
testfreebsd: | |
runs-on: ubuntu-latest | |
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 \ | |
postgresql12-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-2021-08-3z1 | |
cd /tmp/ || exit 1 | |
wget https://bitcoincore.org/bin/bitcoin-core-${{ matrix.bitcoind-version }}/bitcoin-${{ matrix.bitcoind-version }}-x86_64-linux-gnu.tar.gz | |
tar -xf bitcoin-${{ matrix.bitcoind-version }}-x86_64-linux-gnu.tar.bz2 | |
sudo mv bitcoin-${{ matrix.bitcoind-version }}/bin/* /usr/local/bin | |
rm -rf bitcoin-${{ matrix.bitcoind-version }}-x86_64-linux-gnu.tar.gz bitcoin-${{ matrix.bitcoind-version }} | |
run: | | |
pwd | |
whoami | |
freebsd-version | |
bash --version | |
python3.8 --version |