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 730003d commit e01b2f4
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 125 deletions.
49 changes: 0 additions & 49 deletions .appveyor.yml

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: tests

on: [push]

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.7", "3.10"]
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 -U pip
python -m pip install scipy matplotlib 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
- name: Test
run: cmake --build build --target tests
76 changes: 0 additions & 76 deletions .travis.yml

This file was deleted.

0 comments on commit e01b2f4

Please sign in to comment.