Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
dean0x7d committed Oct 15, 2023
1 parent e01b2f4 commit 3050f39
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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())"

0 comments on commit 3050f39

Please sign in to comment.