Skip to content

ci: try to fix the tests on windows #380

ci: try to fix the tests on windows

ci: try to fix the tests on windows #380

Workflow file for this run

name: Rust
on:
workflow_dispatch:
push:
branches: [main, release-*]
pull_request:
branches: [main, release-*]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ${{matrix.os}}
env:
DISPLAY: ':99'
strategy:
fail-fast: false
matrix:
# os: [macos-latest, ubuntu-latest, windows-latest]
os: [windows-latest]
# include:
# - os: ubuntu-latest
# headless: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
# - os: macos-latest
# extra: -- --skip test_simple
steps:
# - if: matrix.os == 'ubuntu-latest'
# uses: awalsh128/cache-apt-pkgs-action@latest
# with:
# packages: libxtst-dev libevdev-dev libxdo-dev
# version: 1.0
- if: matrix.os == 'windows-latest'
run: |
curl https://master.dl.sourceforge.net/project/magicsplat/magicsplat-tcl/tcl-8.6.8-installer-1.8.1-x86.msi?viasf=1 -o tcl.msi
./tcl.msi /quiet
dir.exe "C:\Program Files\"