-
-
Notifications
You must be signed in to change notification settings - Fork 53
36 lines (30 loc) · 862 Bytes
/
ci.yml
File metadata and controls
36 lines (30 loc) · 862 Bytes
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
33
34
35
36
name: ci
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: windows-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup msbuild
uses: microsoft/setup-msbuild@v2
- name: build (release x64)
shell: pwsh
run: |
msbuild .\\library.sln /p:Configuration=Release /p:Platform=x64
- name: collect build output
shell: pwsh
run: |
New-Item -ItemType Directory -Force build-output | Out-Null
Get-ChildItem -Path . -Recurse -Filter *.lib | ForEach-Object {
Copy-Item -Path $_.FullName -Destination build-output -Force
}
- name: upload build-output
uses: actions/upload-artifact@v4
with:
name: build-output
path: build-output