Skip to content

Commit

Permalink
Use a workflow action to configure MSVC. (#1241)
Browse files Browse the repository at this point in the history
Rather than a custom Powershell fragment...
  • Loading branch information
prbprbprb authored Oct 14, 2024
1 parent 90f0a86 commit 4c4119d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 40 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,16 @@ jobs:
ninja
popd
- name: Set up MSVC paths on Windows
if: runner.os == 'Windows'
uses: ilammy/msvc-dev-cmd@v1
with:
arch: x64

- name: Build BoringSSL 64-bit Windows
if: runner.os == 'Windows'
run: |
cd $Env:BORINGSSL_HOME
& $Env:GITHUB_WORKSPACE\.github\workflows\vsenv.ps1 -arch x64 -hostArch x64
mkdir build64
pushd build64
cmake -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE -DCMAKE_BUILD_TYPE=Release -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded -GNinja ..
Expand Down
38 changes: 0 additions & 38 deletions .github/workflows/vsenv.ps1

This file was deleted.

0 comments on commit 4c4119d

Please sign in to comment.