enable netbsd CI build #674
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
# Execute tests on *BSD platforms. Does not produce wheels. | |
# Useful URLs: | |
# https://github.com/vmactions/freebsd-vm | |
# https://github.com/vmactions/openbsd-vm | |
# https://github.com/vmactions/netbsd-vm | |
on: [push, pull_request] | |
name: bsd-tests | |
concurrency: | |
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && github.sha || '' }} | |
cancel-in-progress: true | |
jobs: | |
# here just so that I can comment the next jobs to temporarily disable them | |
# empty-job: | |
# if: false | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v4 | |
freebsd: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run tests | |
uses: vmactions/freebsd-vm@v1 | |
with: | |
usesh: true | |
prepare: | | |
set -e | |
pkg install -y gmake | |
run: | | |
set -e | |
gmake install-sysdeps install-pydeps install print-sysinfo test test-memleaks | |
# openbsd: | |
# runs-on: ubuntu-22.04 | |
# steps: | |
# - uses: actions/checkout@v4 | |
# - name: Run tests | |
# uses: vmactions/openbsd-vm@v1 | |
# with: | |
# usesh: true | |
# prepare: | | |
# set -e | |
# pkg_add gcc python3 | |
# run: | | |
# set -e | |
# make install-pip | |
# python3 -m pip install --user setuptools | |
# make install | |
# make test | |
# make test-memleaks | |
netbsd: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run tests | |
uses: vmactions/netbsd-vm@v1 | |
with: | |
usesh: true | |
prepare: | | |
set -e | |
pkg_add -v pkgin | |
pkgin update | |
run: | | |
set -e | |
gmake PYTHON=python3.11 install-sysdeps install-pydeps install print-sysinfo test test-memleaks |