Start tflite dump #4960
Workflow file for this run
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: Windows unit tests | |
on: | |
pull_request: | |
schedule: | |
- cron: '0 3 * * *' | |
jobs: | |
windows: | |
strategy: | |
matrix: | |
os: [ windows-2022 ] | |
toolchain: [ gnu, msvc ] | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: nick-invision/retry@v2 | |
name: Install Rustup using win.rustup.rs | |
with: | |
timeout_minutes: 10 | |
max_attempts: 8 | |
shell: pwsh | |
command: | | |
# Disable the download progress bar which can cause perf issues | |
$ProgressPreference = "SilentlyContinue" | |
Invoke-WebRequest https://win.rustup.rs/ -OutFile rustup-init.exe | |
.\rustup-init.exe -y --default-host=x86_64-pc-windows-msvc --profile=minimal | |
- uses: nick-invision/retry@v2 | |
name: Install the target | |
with: | |
timeout_minutes: 10 | |
max_attempts: 8 | |
shell: pwsh | |
command: | | |
rustup toolchain add stable-x86_64-pc-windows-${{matrix.toolchain}} | |
rustup default stable-x86_64-pc-windows-${{matrix.toolchain}} | |
- name: top level cargo check | |
run: cargo check | |
- name: data / linalg / core / nnef / onnx / onnx-opl | |
run: cargo test -p tract-data -p tract-linalg -p tract-core -p tract-nnef -p tract-onnx -p tract-onnx-opl | |
- name: Onnx test suite | |
run: | | |
choco install --no-progress wget | |
cargo test --release -p test-onnx-core node_1_7_0:: | |
env: | |
TRACT_LOG: info |