Skip to content

Commit

Permalink
Added vcpkg architecture triplets
Browse files Browse the repository at this point in the history
  • Loading branch information
integraledelebesgue committed Oct 3, 2024
1 parent 2e5a0f2 commit b15d47a
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,19 @@ on: [push, pull_request]

jobs:
build:
name: Build wheels on ${{ matrix.os }}
name: Build wheels on ${{ matrix.config.os }}

runs-on: ${{ matrix.os }}
runs-on: ${{ matrix.config.os }}

strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-14, macos-15]
config:
- os: ubuntu-latest
vcpkg_triplet: x64-linux-release
- os: macos-15
vcpkg_triplet: x64-osx-release
- os: windows-latest
vcpkg_triplet: x64-windows-release

steps:
- uses: actions/checkout@v4
Expand All @@ -19,6 +25,7 @@ jobs:
- name: Install vcpkg
uses: johnwason/vcpkg-action@v6
with:
triplet: ${{ matrix.config.vcpkg_triplet }}
token: ${{ github.token }}
cache-key: ${{ matrix.config.os }}
github-binarycache: true
Expand Down

0 comments on commit b15d47a

Please sign in to comment.