Skip to content

Commit

Permalink
Test one port
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Feb 12, 2024
1 parent 24f4d7d commit b7fcefa
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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

0 comments on commit b7fcefa

Please sign in to comment.