blob: f476ad10a3ca6e611d42ac39b274857d7bfe7bfa (
plain)
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
|
name: Build Archive
on:
push:
branches: [master]
pull_request:
types: [opened, synchronize, reopened]
env:
VCPKG_BINARY_SOURCES: clear;x-azblob,${{ vars.AZ_BLOB_VCPKG_URL }},${{ secrets.AZ_BLOB_SAS }},readwrite
jobs:
build:
runs-on: windows-2022
steps:
# set VCPKG Root
- name: "Set environmental variables"
shell: bash
run: |
echo "VCPKG_ROOT=$VCPKG_INSTALLATION_ROOT" >> $GITHUB_ENV
- uses: actions/checkout@v4
- name: Configure Archive build
shell: pwsh
run: |
cmake --preset vs2022-windows-shared "-DCMAKE_INSTALL_PREFIX=install"
- name: Build Archive
run: cmake --build vsbuild --config RelWithDebInfo
- name: Install Archive
run: cmake --install vsbuild --config RelWithDebInfo
- name: Upload Archive artifact
uses: actions/upload-artifact@master
with:
name: archive
path: ./install
|