diff --git a/.github/workflows/csharp-tests.yml b/.github/workflows/csharp-tests.yml index 161b6127..85717044 100644 --- a/.github/workflows/csharp-tests.yml +++ b/.github/workflows/csharp-tests.yml @@ -58,7 +58,7 @@ jobs: - name: Build native library for ${{ matrix.target.location }} using native capabilities (windows) if: runner.os == 'windows' shell: powershell - run: make ckzg -C bindings/csharp CC=clang EXTENSION=${{matrix.target.ext}} LOCATION=${{matrix.target.location}} ARCH=${{matrix.target.arch}} + run: '"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat" && make ckzg -C bindings/csharp CC=clang EXTENSION=${{matrix.target.ext}} LOCATION=${{matrix.target.location}} ARCH=${{matrix.target.arch}}' - name: Build native library for ${{ matrix.target.location }} using native capabilities (not windows) if: runner.os != 'windows' run: make ckzg -C bindings/csharp CC=clang EXTENSION=${{matrix.target.ext}} LOCATION=${{matrix.target.location}} ARCH=${{matrix.target.arch}}