From 46b8da981ce3fc05bf3f738c36436cb44f409b6d Mon Sep 17 00:00:00 2001 From: Justin Smith Date: Thu, 21 Nov 2024 14:12:53 -0500 Subject: [PATCH] Use the right compiler --- .github/workflows/misc-tests.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/misc-tests.yaml b/.github/workflows/misc-tests.yaml index a2491db6ed..959999320b 100644 --- a/.github/workflows/misc-tests.yaml +++ b/.github/workflows/misc-tests.yaml @@ -95,6 +95,7 @@ jobs: uses: actions/checkout@v4 with: path: "path has spaces/aws-lc" + - uses: ilammy/msvc-dev-cmd@v1 - name: Setup CMake uses: threeal/cmake-action@v1.3.0 with: @@ -111,7 +112,7 @@ jobs: source-dir: 'path has spaces/aws-lc' build-dir: 'path has spaces/build-fips' generator: Ninja - options: FIPS=1 BUILD_SHARED_LIBS=${{ (matrix.os == 'ubuntu-latest' && '0') || '1' }} + options: CMAKE_BUILD_TYPE=Release FIPS=1 BUILD_SHARED_LIBS=${{ (matrix.os == 'ubuntu-latest' && '0') || '1' }} - name: Build Project run: cmake --build "path has spaces/build-fips" --target all - name: Run tests