Skip to content

Commit

Permalink
update build configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
mattip committed Oct 26, 2023
1 parent 7dea41a commit 3f7668d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 23 deletions.
12 changes: 6 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,15 @@ jobs:

- name: install external dependencies
if : ${{ matrix.os == 'ubuntu' }}
run: python -m pip install numpy pythran
run: |
python -m pip install numpy -C-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 numpy -C-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
7 changes: 2 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 -C-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

0 comments on commit 3f7668d

Please sign in to comment.