more debug output #39
Workflow file for this run
This file contains hidden or 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: Test PR on Linux, macOS and Windows | |
on: [pull_request, push] | |
jobs: | |
test: | |
name: Test on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 30 | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
fail-fast: false | |
steps: | |
# Checkout the repository | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: '0' | |
fetch-tags: 'true' | |
# Install Pixi and workspace | |
- name: Install pixi and workspace | |
uses: prefix-dev/[email protected] | |
with: | |
cache: false | |
# Run setup | |
- name: Run setup | |
run: pixi run setup | |
# Check Dependencies | |
- name: Check dependencies | |
run: which emcc emrun brian2wasm emsdk | |
shell: pixi run bash -e {0} | |
# Run an example and check output | |
- name: Run example and verify output files | |
run: | | |
cd examples | |
python -m brian2wasm brunel_hakim1999.py --no-server --skip-install || (cat brunel_hakim1999/winmake.log; exit 1) | |
ls brunel_hakim1999/{brian.js,index.html,wasm_module.{js,wasm},worker.js} | |
shell: pixi run bash -e {0} |