Skip to content

Test mac

Test mac #37

Workflow file for this run

name: Build
on:
push:
branches:
- actions-test
jobs:
build_windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Enable static CRT linkage
run: |
mkdir .cargo
echo '[target.x86_64-pc-windows-msvc]' >> .cargo/config
echo 'rustflags = ["-Ctarget-feature=+crt-static"]' >> .cargo/config
- name: Cache cargo dependencies
uses: Swatinem/rust-cache@v2
with:
shared-key: "wrangler"
- name: Build windows binary
run: cargo build --verbose --release
- name: Archive windows binary
uses: actions/upload-artifact@v4
with:
name: slimevr-wrangler.exe
path: target/release/slimevr-wrangler.exe