Skip to content

dev

dev #8

Workflow file for this run

name: windows
on:
push:
branches: [ "workflow" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Install vcpkg
run: |
git clone https://github.com/microsoft/vcpkg.git
.\vcpkg\bootstrap-vcpkg.bat
- name: Install OpenCL with vcpkg
run: .\vcpkg\vcpkg.exe install opencl
- name: Add vcpkg to LIB
run: $env:LIB += ';' + (Resolve-Path .\vcpkg\installed\x64-windows\lib)
- name: Build
run: cargo build --verbose