Skip to content

egui/eframe 0.23

egui/eframe 0.23 #16

Workflow file for this run

name: test
on:
push:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install pre-commit
run:
pip install pre-commit
pre-commit install
- run: pre-commit run --all-files --show-diff-on-failure
env:
INFUR_NO_TEST_GEN: 1
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: setup-ffmpeg
uses: FedericoCarboni/setup-ffmpeg@v2
- run: cargo version -v
- run: ffmpeg -version
- uses: actions/checkout@v3
- name: cargo test (*nix)
if: startsWith(matrix.os, 'windows') != true
run: cargo test
- name: cargo test (windows)
if: startsWith(matrix.os, 'windows')
shell: bash
run: |
# workaround so that downloaded dll gets in fact loaded by OS,
# the native link directive in onnxruntime-sys build.rs doesn't work
# https://github.com/nbigaouette/onnxruntime-rs/issues/83
cargo build
# copy .dll next to test .exe
find target -name onnxruntime.dll -exec cp "{}" target/debug/deps \;
cargo test