Skip to content

Commit

Permalink
disable bsd
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Oct 1, 2024
1 parent dd608d9 commit 4106c7b
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 66 deletions.
136 changes: 70 additions & 66 deletions .github/workflows/bsd.yml
Original file line number Diff line number Diff line change
@@ -1,67 +1,71 @@
# # 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
# 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:
# freebsd:
# runs-on: ubuntu-22.04
# steps:
# - uses: actions/checkout@v4
# - name: Run tests
# uses: vmactions/freebsd-vm@v1
# with:
# usesh: true
# prepare: |
# pkg install -y gcc python3
# run: |
# set -e -x
# make install-pip
# python3 -m pip install --user setuptools
# make install
# make test
# make 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-22.04
# steps:
# - uses: actions/checkout@v4
# - name: Run tests
# uses: vmactions/netbsd-vm@v1
# with:
# usesh: true
# prepare: |
# set -e
# /usr/sbin/pkg_add -v pkgin
# pkgin update
# pkgin -y install python311-* py311-setuptools-* gcc12-*
# run: |
# set -e
# make install-pip PYTHON=python3.11
# python3.11 -m pip install --user setuptools
# make install PYTHON=python3.11
# make test PYTHON=python3.11
# make test-memleaks PYTHON=python3.11
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:
empty-job: # here just so that I can comment the next jobs if I want to temporarily disable them
if: false
runs-on: ubuntu-22.04
steps:
# freebsd:
# runs-on: ubuntu-22.04
# steps:
# - uses: actions/checkout@v4
# - name: Run tests
# uses: vmactions/freebsd-vm@v1
# with:
# usesh: true
# prepare: |
# pkg install -y gcc python3
# run: |
# set -e -x
# make install-pip
# python3 -m pip install --user setuptools
# make install
# make test
# make 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-22.04
# steps:
# - uses: actions/checkout@v4
# - name: Run tests
# uses: vmactions/netbsd-vm@v1
# with:
# usesh: true
# prepare: |
# set -e
# /usr/sbin/pkg_add -v pkgin
# pkgin update
# pkgin -y install python311-* py311-setuptools-* gcc12-*
# run: |
# set -e
# make install-pip PYTHON=python3.11
# python3.11 -m pip install --user setuptools
# make install PYTHON=python3.11
# make test PYTHON=python3.11
# make test-memleaks PYTHON=python3.11
2 changes: 2 additions & 0 deletions scripts/internal/winmake.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"setuptools",
"pytest",
"pytest-xdist",
"wheel",
]
else:
DEPS = [
Expand All @@ -58,6 +59,7 @@
"pytest-xdist",
"pytest==4.6.11",
"setuptools",
"wheel",
]

# deps for local development
Expand Down

0 comments on commit 4106c7b

Please sign in to comment.