Skip to content

Commit 1a24513

Browse files
committed
Test both mac arm and intel
1 parent 71a3971 commit 1a24513

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/vcpkg-build.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
- { os: ubuntu-latest }
1414
- { os: windows-latest }
1515
- { os: macos-latest }
16+
- { os: macos-latest-large }
1617
env:
1718
VCPKG_TAG: 2025.01.13
1819

@@ -32,11 +33,11 @@ jobs:
3233
run: |
3334
git clone --depth 1 --branch ${{ env.VCPKG_TAG }} https://github.com/microsoft/vcpkg "${{ runner.TEMP }}/vcpkg"
3435
- name: Bootstrap vcpkg windows
35-
if: ${{ startsWith(matrix.cfg.os, 'windows') }}
36+
if: ${{ runner.os == 'Windows' }}
3637
run: |
3738
${{ runner.TEMP }}/vcpkg/bootstrap-vcpkg.bat
3839
- name: Bootstrap vcpkg unix
39-
if: ${{ startsWith(matrix.cfg.os, 'ubuntu') || startsWith(matrix.cfg.os, 'mac') }}
40+
if: ${{ runner.os == 'Linux' || runner.os == 'macOS' }}
4041
run: |
4142
sh ${{ runner.TEMP }}/vcpkg/bootstrap-vcpkg.sh
4243
- uses: taiki-e/install-action@v2
@@ -52,10 +53,10 @@ jobs:
5253
python3 -m pip install --upgrade pip
5354
pip3 install numpy
5455
- name: Install linux dependencies
55-
if: ${{ matrix.cfg.os == 'ubuntu-latest' }}
56+
if: ${{ runner.os == 'Linux' }}
5657
run: sudo apt-get install nasm openssl
5758
- name: Install osx dependencies
58-
if: ${{ matrix.cfg.os == 'macos-latest' }}
59+
if: ${{ runner.os == 'macOS' }}
5960
run: |
6061
brew install nasm
6162
- name: Bootstrap the ports

0 commit comments

Comments
 (0)