Skip to content

Auto pre-commit update (#40) #132

Auto pre-commit update (#40)

Auto pre-commit update (#40) #132

Workflow file for this run

name: "OS Builds"
on:
push:
branches:
- 'master'
pull_request:
jobs:
os-build:
runs-on: ${{ matrix.os-version }}
strategy:
matrix:
os-version: [ubuntu-22.04, windows-2022, macos-12]
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Python Requirements
run: python3 -m pip install cython wheel pytest build
- name: Configure
run: cmake -DCMAKE_BUILD_TYPE=Release -DKALEIDOSCOPE_ENABLE_TESTS=ON -DKALEIDOSCOPE_ENABLE_PACKAGE=ON -S . -B build
- name: Build
run: cmake --build build --parallel --config Release
- name: Install python package
run: python3 -m pip install --find-links=./build/python/dist/ LibKaleidoscope
- name: Run Tests
run: |
ctest --output-on-failure --test-dir build/tests --build-config Release
pytest python/python-tests.py
- name: Package
run: cmake --build build --parallel --target package --config Release
- uses: actions/upload-artifact@v3
with:
path: build/dist/*