fix CI #62
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI-py | |
on: | |
workflow_dispatch: | |
push: | |
paths: ["**.py", "**/py.yml", "meson.build", "pie/meson.build"] | |
pull_request: | |
paths: ["**.py", "**/py.yml", "meson.build", "pie/meson.build"] | |
jobs: | |
build: | |
name: check python files | |
runs-on: windows-latest | |
defaults: | |
run: | |
shell: msys2 {0} | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: msys2/setup-msys2@v2 | |
with: | |
update: true | |
msystem: ucrt64 | |
pacboy: >- | |
meson | |
python-numba | |
python-matplotlib | |
- name: compile all files | |
run: | | |
meson setup -Dbuild_py=true -Dpython.bytecompile=1 build | |
meson install -C build --destdir=build/dummy | |
- uses: chartboost/ruff-action@v1 | |
with: | |
src: "./pie" | |
- name: run speedometers | |
run: | | |
time python pie/speedometer.py | |
time python pie/numbed.py |