Skip to content

Commit 7025880

Browse files
committed
add missing dependency for macos
1 parent 02ec40d commit 7025880

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/build-client-vcpkg.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
run: |
6666
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
6767
echo "vcpkg-dir=${{ github.workspace }}/.vcpkg" >> "$GITHUB_OUTPUT"
68-
echo "VCPKG_INSTALLATION_ROOT=$VCPKG_INSTALLATION_ROOT"
68+
echo "runner.os=${{ runner.os }}"
6969
7070
- uses: lukka/get-cmake@v3.29.5
7171
if: runner.os == 'Linux'
@@ -97,10 +97,11 @@ jobs:
9797
wget https://raw.githubusercontent.com/microsoft/msquic/main/src/inc/quic_sal_stub.h
9898
sudo mv msquic.h msquic_posix.h quic_sal_stub.h /usr/include/
9999
100-
- uses: actions/cache/restore@v4
100+
- id: vcpkg-cache
101+
uses: actions/cache/restore@v4
101102
with:
102103
path: ${{ steps.strings.outputs.vcpkg-dir }}
103-
key: ${{ matrix.os }}-vcpkg
104+
key: vcpkg-${{ matrix.os }}-${{ hashFiles('vcpkg.json', 'vcpkg-configuration.json') }}
104105

105106
- uses: actions/cache/restore@v4
106107
if: runner.os == 'Windows'
@@ -113,6 +114,11 @@ jobs:
113114
run: |
114115
choco install directx-sdk nsis
115116
117+
- name: Dependencies Windows
118+
if: runner.os == 'Darwin'
119+
run: |
120+
brew install nasm
121+
116122
- uses: actions/cache/save@v4
117123
with:
118124
path: C:\Users\runneradmin\AppData\Local\Temp\chocolatey
@@ -130,7 +136,7 @@ jobs:
130136
- uses: actions/cache/save@v4
131137
with:
132138
path: ${{ steps.strings.outputs.vcpkg-dir }}
133-
key: ${{ matrix.os }}-vcpkg
139+
key: vcpkg-${{ matrix.os }}-${{ hashFiles('vcpkg.json', 'vcpkg-configuration.json') }}
134140

135141
- name: Build
136142
env:

0 commit comments

Comments
 (0)