Skip to content

test release windows #9

test release windows

test release windows #9

Workflow file for this run

name: test
on:
push:
branches:
- test
jobs:
build-windows:
name: build-windows
runs-on: windows-latest
steps:
- name: checkout code
uses: actions/checkout@v4
- name: setup go
uses: actions/setup-go@v5
with:
go-version: '>=1.22.0'
- name: build libwg
run: cd libwg && ./build.ps1
- name: rust install gnu toolchain
run: rustup toolchain install stable-gnu
- name: rust use gnu toolchain
run: rustup default stable-x86_64-pc-windows-gnu
- name: build package
run: cargo build --release
- name: build check result
run: |
cd target
cp release/corplink-rs .
Compress-Archive -Path corplink-rs,config.json -Destination corplink-rs-${{ github.ref_name }}-windows.zip
ls