-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (37 loc) · 1.03 KB
/
windows.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
---
name: 🪟 Windows
on:
push:
branches:
- dummytest
pull_request:
jobs:
build:
name: build (windows)
runs-on: windows-2022
strategy:
matrix:
include:
- triplet: 'x64-windows'
steps:
- name: 🐣 Checkout
uses: actions/checkout@v4
- name: 🐩 Install CMake and Ninja
uses: lukka/get-cmake@latest
- name: 🧽 Developer Command Prompt for Microsoft Visual C++
uses: ilammy/msvc-dev-cmd@v1
- name: Setup vcpkg
uses: ./.github/actions/setup-vcpkg
with:
vcpkgVersion: latest
vcpkgRoot: /c/vcpkg
vcpkgDownload: /c/vcpkg-downloads
- name: 🌋 Build
run: |
C:/vcpkg/vcpkg.exe install --overlay-ports="${{ github.workspace }}/ports" --triplet=${{ matrix.triplet }} py-sip
- name: 📑 Upload logs
uses: actions/upload-artifact@v4
if: failure()
with:
name: logs-${{ matrix.triplet }}
path: /c/vcpkg/buildtrees/**/*.log