From 4fa6f0cd6f4e3a1b706b7e3e8b3443bc93df444a Mon Sep 17 00:00:00 2001 From: mattip Date: Thu, 26 Oct 2023 16:40:20 +0300 Subject: [PATCH] update build configurations --- .github/workflows/cython.yml | 14 ++++++++------ .github/workflows/nanobind.yml | 12 ------------ .github/workflows/pythran.yml | 7 ++----- 3 files changed, 10 insertions(+), 23 deletions(-) diff --git a/.github/workflows/cython.yml b/.github/workflows/cython.yml index f1e8325..e86ace2 100644 --- a/.github/workflows/cython.yml +++ b/.github/workflows/cython.yml @@ -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: @@ -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: @@ -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') diff --git a/.github/workflows/nanobind.yml b/.github/workflows/nanobind.yml index a6bc959..00ac7ca 100644 --- a/.github/workflows/nanobind.yml +++ b/.github/workflows/nanobind.yml @@ -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 @@ -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 }} diff --git a/.github/workflows/pythran.yml b/.github/workflows/pythran.yml index e5ed6ae..34967f8 100644 --- a/.github/workflows/pythran.yml +++ b/.github/workflows/pythran.yml @@ -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: @@ -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: @@ -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 }}