Skip to content

Commit 2c54cd3

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

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/vcpkg-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ jobs:
3232
run: |
3333
git clone --depth 1 --branch ${{ env.VCPKG_TAG }} https://github.com/microsoft/vcpkg "${{ runner.TEMP }}/vcpkg"
3434
- name: Bootstrap vcpkg windows
35-
if: ${{ startsWith(matrix.cfg.os, 'windows') }}
35+
if: ${{ runner.os == 'Windows' }}
3636
run: |
3737
${{ runner.TEMP }}/vcpkg/bootstrap-vcpkg.bat
3838
- name: Bootstrap vcpkg unix
39-
if: ${{ startsWith(matrix.cfg.os, 'ubuntu') || startsWith(matrix.cfg.os, 'mac') }}
39+
if: ${{ runner.os == 'Linux' || runner.os == 'macOS' }}
4040
run: |
4141
sh ${{ runner.TEMP }}/vcpkg/bootstrap-vcpkg.sh
4242
- uses: taiki-e/install-action@v2
@@ -52,10 +52,10 @@ jobs:
5252
python3 -m pip install --upgrade pip
5353
pip3 install numpy
5454
- name: Install linux dependencies
55-
if: ${{ matrix.cfg.os == 'ubuntu-latest' }}
55+
if: ${{ runner.os == 'Linux' }}
5656
run: sudo apt-get install nasm openssl
5757
- name: Install osx dependencies
58-
if: ${{ matrix.cfg.os == 'macos-latest' }}
58+
if: ${{ runner.os == 'macOS' }}
5959
run: |
6060
brew install nasm
6161
- name: Bootstrap the ports

0 commit comments

Comments
 (0)