Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update build configurations #45

Merged
merged 2 commits into from
Oct 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .github/workflows/cython.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# This is a basic workflow to help you get started with Actions

name: Cython

# Controls when the action will run.
on:
workflow_dispatch:
pull_request:
Expand All @@ -19,7 +16,6 @@ on:
# │ │ │ │ │
- cron: "0 2 * * 0"

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
cython:
Expand Down Expand Up @@ -66,11 +62,17 @@ jobs:

- name: install external dependencies
if : ${{ matrix.os == 'ubuntu' }}
run: python -m pip install numpy pythran
run: |
python -m pip install --upgrade pip
python -m pip install numpy -Csetup-args="-Dallow-noblas=true"
python -m pip install pythran --no-build-isolation

- name: install external dependencies
if : ${{ matrix.os == 'macos' }}
run: python -m pip install numpy pythran
run: |
python -m pip install --upgrade pip
python -m pip install numpy -Csetup-args="-Dallow-noblas=true"
python -m pip install pythran --no-build-isolation

- name: Enable long paths on Windows
if: startsWith(runner.os, 'Windows')
Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/nanobind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ on:
# │ │ │ │ │
- cron: "0 2 * * 0"

concurrency:
group: test-${{ github.ref }}
cancel-in-progress: true

env:
PIP_ONLY_BINARY: numpy
FORCE_COLOR: 3
Expand All @@ -37,14 +33,6 @@ jobs:
- 'pypy-3.10-nightly'
- 'pypy-3.9-nightly'

# Items in here will either be added to the build matrix (if not
# present), or add new keys to an existing matrix element if all the
# existing keys match.
#
# We support an optional key: args, for cmake args
include:
- runs-on: ubuntu-latest
python: 'pypy-3.9-nightly'

name: "nanobind ${{ matrix.python }} • ${{ matrix.runs-on }} x64 ${{ matrix.args }}"
runs-on: ${{ matrix.runs-on }}
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/pythran.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
pythran-linux:
name: Test ubuntu ${{ matrix.python_version[1] }} ${{ matrix.cpp-version }}
runs-on: ${{ matrix.os }}
timeout-minutes: 160
strategy:
fail-fast: false
matrix:
Expand All @@ -29,11 +30,6 @@ jobs:
python_version:
- [pypy-3.10-nightly, pypy10]
- [pypy-3.9-nightly, pypy39]



timeout-minutes: 160

steps:
- uses: actions/setup-python@v4
with:
Expand All @@ -49,6 +45,7 @@ jobs:
run: |
cd pythran
python -m pip install --upgrade pip
python -m pip install numpy -Csetup-args="-Dallow-noblas=true"
pip install -r requirements.txt
pip install ipython nbval pytest-xdist wheel
sudo apt install libopenblas-dev ${{ matrix.cpp-version }}
Expand Down Expand Up @@ -92,6 +89,8 @@ jobs:
run: |
cd pythran
python -m pip install --upgrade pip
python -m pip install cython
python -m pip install numpy --no-build-isolation -Csetup-args="-Dallow-noblase=true"
pip install -r requirements.txt -Csetup-args="--vsenv" -Csetup-args="-Dblas=none" -Csetup-args="-Dlapack=none" -Csetup-args="-Dallow-noblas=true"
pip install wheel pythran-openblas pytest pytest-timeout
# pip install scipy # no wheel availabe, compilation takes too long
Expand Down
Loading