-
Notifications
You must be signed in to change notification settings - Fork 28
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@11bd71901bbe5b1630ceea73d27597364c9af683
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@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
with:
name: bin-windows-${{ matrix.arch }}
path: |
build/bin/**/*.so
build/bin/**/*.dll
build/bin/**/quicreach
build/bin/**/quicreach.exe
build/bin/**/quicreach.msi