This repository has been archived by the owner on Sep 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
61 lines (61 loc) · 1.74 KB
/
ci.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: CI
on: [push, pull_request, workflow_dispatch]
env:
VCPKG_DISABLE_METRICS: 1
VERSION: 1.5.0
jobs:
windows:
name: Windows
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
VCPKG_DEFAULT_TRIPLET: [x86-windows]
env:
CONFIGURATION: Release
VCPKG_DEFAULT_TRIPLET: ${{ matrix.VCPKG_DEFAULT_TRIPLET }}
POWERSHELL_TELEMETRY_OPTOUT: 1
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Build dependencies
run: windows\install
- name: Build artifacts
run: windows\build
- name: Upload vcpkg archive (zip)
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.VCPKG_DEFAULT_TRIPLET }} vcpkg archive (zip)
path: '.\vcpkg\vcpkg*.zip'
if-no-files-found: error
- name: Upload vcpkg archive (NuGet)
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.VCPKG_DEFAULT_TRIPLET }} vcpkg archive (NuGet)
path: '.\vcpkg\*.nupkg'
if-no-files-found: error
# macos:
# name: macOS
# runs-on: macos-latest
# strategy:
# fail-fast: false
# matrix:
# VCPKG_DEFAULT_TRIPLET: [x86-osx]
# env:
# CONFIGURATION: Release
# VCPKG_DEFAULT_TRIPLET: ${{ matrix.VCPKG_DEFAULT_TRIPLET }}
# steps:
# - name: Checkout
# uses: actions/checkout@v2
# with:
# fetch-depth: 0
# - name: Build dependencies
# run: macos/build.sh
# - name: Upload artifacts
# uses: actions/upload-artifact@v2
# with:
# name: ${{ matrix.VCPKG_DEFAULT_TRIPLET }} vcpkg archive (zip)
# path: macos.dependencies.zip
# if-no-files-found: error