Skip to content

Unit tests Zig (msvc) #76

Unit tests Zig (msvc)

Unit tests Zig (msvc) #76

name: Unit tests Zig (msvc)
on:
push:
branches:
- develop
- master
- zig-pkg
pull_request:
schedule:
- cron: '0 0 1 * *'
jobs:
build:
strategy:
fail-fast: false
matrix:
target: [x86_64, x86, aarch64]
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: mlugg/setup-zig@v1
with:
version: master
- uses: baptiste0928/cargo-install@v2
with:
crate: xwin
- name: Run xwin
run: xwin --arch=${{ matrix.target }} --accept-license splat --output $PWD/.xwin --include-debug-symbols --preserve-ms-arch-notation --disable-symlinks --include-debug-libs
- name: build summary
run: zig build -Dtests --summary all -freference-trace -Doptimize=ReleaseFast -Dtarget=${{ matrix.target }}-windows-msvc