-
Notifications
You must be signed in to change notification settings - Fork 27
43 lines (40 loc) · 1.14 KB
/
onebranch.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
33
34
35
36
37
38
39
40
41
42
43
name: OneBranch-Style Build
on:
push:
branches: main
pull_request:
branches: main
permissions: read-all
jobs:
build:
strategy:
fail-fast: false
matrix:
arch: [x64, arm64]
name: Build
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: 'recursive'
- name: Setup MSBuild
uses: microsoft/setup-msbuild@6fb02220983dee41ce7ae257b6f4d8f9bf5ed4ce
- name: Pre-Build
shell: pwsh
run: ./.azure/pre-build.ps1 -Arch ${{ matrix.arch }}
- name: Build
run: msbuild ./build/ALL_BUILD.vcxproj /p:Configuration=Release /p:Platform=${{ matrix.arch }}
- name: Post-Build
shell: pwsh
run: ./.azure/post-build.ps1 -Arch ${{ matrix.arch }}
- name: Upload
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
with:
name: bin-windows-${{ matrix.arch }}
path: |
build/bin/**/*.so
build/bin/**/*.dll
build/bin/**/quicreach
build/bin/**/quicreach.exe
build/bin/**/quicreach.msi