Skip to content

windows check

windows check #35

Workflow file for this run

name: Rust CI Check
on:
push:
branches: [ "main", "development" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ['ubuntu-latest','windows-latest','macos-latest']
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run install_ospect.sh on Unix
if: matrix.os != 'windows-latest'
run: |
chmod +x install_ospect.sh
echo 'y' | ./install_ospect.sh
export PATH="$HOME/bin:$PATH"
ospect
- name: Run install_ospect.bat on Windows
if: matrix.os == 'windows-latest'
run: |
echo.exe 'y' | ./install_ospect.bat
ospect.exe