Skip to content

Commit

Permalink
wip Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dean0x7d committed Oct 15, 2023
1 parent c9aafda commit eca9e0c
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 138 deletions.
49 changes: 0 additions & 49 deletions .appveyor.yml

This file was deleted.

35 changes: 35 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: tests
on: push
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: python -m pip install wheel scipy "matplotlib<3.8" pytest 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 -G Ninja -B build -DPB_WERROR=ON
cmake --build build
- name: Test
run: cmake --build build --target tests
- name: Test package
run: |
python -m pip install .
python -c "import pybinding as pb; exit(pb.tests())"
76 changes: 0 additions & 76 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion cppcore/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.1)
cmake_minimum_required(VERSION 3.5)
project(pybinding_cppcore CXX)

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")
Expand Down
12 changes: 0 additions & 12 deletions support/deploy.sh

This file was deleted.

0 comments on commit eca9e0c

Please sign in to comment.