Skip to content

Fix: Create test_images directory if it doesn't exist #110

Fix: Create test_images directory if it doesn't exist

Fix: Create test_images directory if it doesn't exist #110

Workflow file for this run

name: Rust
on:
push:
branches:
- main
- master
pull_request:
workflow_dispatch:
release:
types: [created]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
release:
runs-on: ubuntu-latest
name: release ${{ matrix.target }}
if: github.event_name == 'release' && github.event.action == 'created'
needs: [build]
strategy:
fail-fast: false
matrix:
target: [x86_64-pc-windows-gnu, x86_64-unknown-linux-musl, x86_64-apple-darwin]
steps:
- uses: actions/checkout@master
- name: Compile and release
uses: rust-build/rust-build.action@v1.4.5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
RUSTTARGET: ${{ matrix.target }}
EXTRA_FILES: "README.md LICENSE"
TOOLCHAIN_VERSION: 1.85.1