mirror of
https://github.com/netchx/netch.git
synced 2026-03-18 18:13:21 +08:00
35 lines
708 B
YAML
35 lines
708 B
YAML
name: Netch Build CI
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
name: Build
|
|
runs-on: windows-latest
|
|
steps:
|
|
- name: Go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.17.1
|
|
|
|
- name: C++
|
|
uses: msys2/setup-msys2@v2
|
|
|
|
- name: MSBuild
|
|
uses: microsoft/setup-msbuild@v1.0.2
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 1
|
|
|
|
- name: Build
|
|
shell: pwsh
|
|
run: |
|
|
.\build.ps1 -Configuration Release -OutputPath release
|
|
|
|
- name: Upload
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: Netch
|
|
path: release
|