-
Notifications
You must be signed in to change notification settings - Fork 34
32 lines (30 loc) · 851 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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