summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2020-11-14 12:54:42 +0100
committerGiampaolo Rodola <g.rodola@gmail.com>2020-11-14 12:54:42 +0100
commit7366c7bdb7327f4a8e505a569d0ab7733f32ecd6 (patch)
treef709725348bab1d350de3162f7ee2c2335d20f59
parentfd69f22ee5ca38ceff32ae3fac15420c5d8fce29 (diff)
downloadpsutil-7366c7bdb7327f4a8e505a569d0ab7733f32ecd6.tar.gz
add freebsd ci
-rw-r--r--.github/workflows/build_wheel.yml68
-rw-r--r--.github/workflows/freebsd.yml16
2 files changed, 50 insertions, 34 deletions
diff --git a/.github/workflows/build_wheel.yml b/.github/workflows/build_wheel.yml
index 4f9eeef9..a32b7313 100644
--- a/.github/workflows/build_wheel.yml
+++ b/.github/workflows/build_wheel.yml
@@ -1,40 +1,40 @@
-name: Build wheels
+# name: Build wheels
-on: [push, pull_request]
+# on: [push, pull_request]
-jobs:
- wheel:
- name: ${{ matrix.os }}
- runs-on: ${{ matrix.os }}
- strategy:
- fail-fast: false
- matrix:
- os: [macos-latest, ubuntu-latest]
- env:
- CIBW_TEST_COMMAND: python -u -Wa {project}/psutil/tests/runner.py
- CIBW_TEST_COMMAND_MACOS: LC_ALL='en_US.utf8' python -Wa {project}/psutil/tests/runner.py
- CIBW_TEST_EXTRAS: test
- CIBW_SKIP: pp*-macosx_x86_64
- steps:
- - uses: actions/checkout@v1
- - uses: actions/setup-python@v1
- name: Install Python 3.7
- with:
- python-version: '3.7'
+# jobs:
+# wheel:
+# name: ${{ matrix.os }}
+# runs-on: ${{ matrix.os }}
+# strategy:
+# fail-fast: false
+# matrix:
+# os: [macos-latest, ubuntu-latest]
+# env:
+# CIBW_TEST_COMMAND: python -u -Wa {project}/psutil/tests/runner.py
+# CIBW_TEST_COMMAND_MACOS: LC_ALL='en_US.utf8' python -Wa {project}/psutil/tests/runner.py
+# CIBW_TEST_EXTRAS: test
+# CIBW_SKIP: pp*-macosx_x86_64
+# steps:
+# - uses: actions/checkout@v1
+# - uses: actions/setup-python@v1
+# name: Install Python 3.7
+# with:
+# python-version: '3.7'
- - name: Install Visual C++ for Python 2.7
- if: startsWith(matrix.os, 'windows')
- run: |
- choco install vcpython27 -f -y
+# - name: Install Visual C++ for Python 2.7
+# if: startsWith(matrix.os, 'windows')
+# run: |
+# choco install vcpython27 -f -y
- - name: Install cibuildwheel
- run: pip install cibuildwheel==1.4.1
+# - name: Install cibuildwheel
+# run: pip install cibuildwheel==1.4.1
- - name: Build wheels
- run: cibuildwheel .
+# - name: Build wheels
+# run: cibuildwheel .
- - name: Upload wheels
- uses: actions/upload-artifact@v1
- with:
- name: wheels
- path: wheelhouse
+# - name: Upload wheels
+# uses: actions/upload-artifact@v1
+# with:
+# name: wheels
+# path: wheelhouse
diff --git a/.github/workflows/freebsd.yml b/.github/workflows/freebsd.yml
new file mode 100644
index 00000000..117ee295
--- /dev/null
+++ b/.github/workflows/freebsd.yml
@@ -0,0 +1,16 @@
+name: FreeBSD
+
+on: [push, pull_request]
+
+jobs:
+ freebsd:
+ runs-on: macos-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: meson test
+ uses: vmactions/freebsd-vm@v0.0.7
+ with:
+ prepare: |
+ pkg install -y gcc python3
+ run: |
+ python3 -Wa {project}/psutil/tests/runner.py