From 3050f3943d71286e5ec5d8a0b654dd1d1f7b629e Mon Sep 17 00:00:00 2001 From: Dean Moldovan Date: Sun, 16 Oct 2022 17:39:32 +0200 Subject: [PATCH] tmp --- .github/workflows/tests.yml | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7cd1cd42..4f83e204 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,14 +1,13 @@ name: tests - -on: [push] - +on: push jobs: build: runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: - os: [ubuntu-latest, macos-latest] - python-version: ["3.7", "3.10"] + os: [ubuntu-latest, windows-latest, macos-latest] + python-version: ["3.10"] steps: - uses: actions/checkout@v3 with: @@ -18,17 +17,13 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Install dependencies - run: | - python -m pip install -U pip - python -m pip install scipy matplotlib pytest cmake ninja + run: python -m pip install wheel scipy matplotlib==3.7.3 pytest cmake ninja - name: Set up MSVC if: runner.os == 'Windows' uses: ilammy/msvc-dev-cmd@v1 - name: ccache uses: hendrikmuhs/ccache-action@v1 - name: Build - run: | - cmake -GNinja -B build -DPB_WERROR=ON -DPB_NATIVE_SIMD=OFF - cmake --build build + run: python -m pip install . - name: Test - run: cmake --build build --target tests + run: python -c "import pybinding as pb; exit(pb.tests())"