From 4106c7b2b447660202edbc0e13c3a9cacdbc253f Mon Sep 17 00:00:00 2001 From: Giampaolo Rodola Date: Tue, 1 Oct 2024 21:42:11 +0200 Subject: [PATCH] disable bsd --- .github/workflows/bsd.yml | 136 +++++++++++++++++++----------------- scripts/internal/winmake.py | 2 + 2 files changed, 72 insertions(+), 66 deletions(-) diff --git a/.github/workflows/bsd.yml b/.github/workflows/bsd.yml index 8182177c0..147074f97 100644 --- a/.github/workflows/bsd.yml +++ b/.github/workflows/bsd.yml @@ -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 diff --git a/scripts/internal/winmake.py b/scripts/internal/winmake.py index f24eaa7de..c8d3a0e88 100755 --- a/scripts/internal/winmake.py +++ b/scripts/internal/winmake.py @@ -48,6 +48,7 @@ "setuptools", "pytest", "pytest-xdist", + "wheel", ] else: DEPS = [ @@ -58,6 +59,7 @@ "pytest-xdist", "pytest==4.6.11", "setuptools", + "wheel", ] # deps for local development