From ffc2ffd3f896b8008f0dc3f8c3cebbe94dc7dae9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 16 Jan 2024 10:54:38 +0100 Subject: [PATCH] Bump jinja2 from 3.0.3 to 3.1.3 in /oqs-template (#334) * Bump jinja2 from 3.0.3 to 3.1.3 in /oqs-template Bumps [jinja2](https://github.com/pallets/jinja) from 3.0.3 to 3.1.3. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/jinja/compare/3.0.3...3.1.3) --- updated-dependencies: - dependency-name: jinja2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] * add MSVC native toolchain --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Michael Baentsch <57787676+baentsch@users.noreply.github.com> --- .CMake/toolchain_windows_amd64.cmake | 12 ++++++++++++ .github/workflows/windows.yml | 11 ++++++----- oqs-template/requirements.txt | 2 +- 3 files changed, 19 insertions(+), 6 deletions(-) create mode 100644 .CMake/toolchain_windows_amd64.cmake diff --git a/.CMake/toolchain_windows_amd64.cmake b/.CMake/toolchain_windows_amd64.cmake new file mode 100644 index 00000000..60a0dca9 --- /dev/null +++ b/.CMake/toolchain_windows_amd64.cmake @@ -0,0 +1,12 @@ +# SPDX-License-Identifier: MIT + +set(CMAKE_SYSTEM_NAME Windows) + +set(CMAKE_SYSTEM_PROCESSOR AMD64) + +set(CMAKE_CROSSCOMPILING OFF) + +set(CMAKE_GENERATOR_PLATFORM + x64 + CACHE STRING "Platform" FORCE +) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index a699e8cb..56a5d1c4 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -96,8 +96,9 @@ jobs: strategy: matrix: os: +# liboqs doesn't check Windows 2019 - windows-2019 -# - windows-2022 + - windows-2022 platform: - arch: win64 oqsconfig: -DOQS_ALGS_ENABLED=STD @@ -149,7 +150,7 @@ jobs: cmake --version mkdir build cd build - cmake -GNinja -DCMAKE_C_FLAGS="/wd5105" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX="c:\liboqs" ${{ matrix.platform.oqsconfig }} -DOQS_DIST_BUILD=ON .. + cmake -GNinja -DCMAKE_C_COMPILER="cl" -DCMAKE_C_FLAGS="/wd5105" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX="c:\liboqs" ${{ matrix.platform.oqsconfig }} -DOQS_DIST_BUILD=ON .. ninja ninja install working-directory: liboqs @@ -188,7 +189,7 @@ jobs: key: ${{ runner.os }}-msvcopenssl32 - name: build oqs-provider run: | - cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="/wd5105" -DOPENSSL_ROOT_DIR="c:\openssl32" -Dliboqs_DIR="c:\liboqs\lib\cmake\liboqs" -S . -B _build + cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER="cl" -DCMAKE_C_FLAGS="/wd5105" -DOPENSSL_ROOT_DIR="c:\openssl32" -Dliboqs_DIR="c:\liboqs\lib\cmake\liboqs" -S . -B _build cd _build ninja - name: Run tests @@ -205,7 +206,7 @@ jobs: strategy: matrix: os: -# - windows-2019 + - windows-2019 - windows-2022 platform: - arch: win64 @@ -294,7 +295,7 @@ jobs: key: ${{ runner.os }}-msvcopenssl32n - name: build oqs-provider run: | - cmake -DCMAKE_BUILD_TYPE=${{ matrix.type }} -DCMAKE_C_FLAGS="/wd5105" -DOPENSSL_ROOT_DIR="c:\openssl32n" -Dliboqs_DIR="c:\liboqs\lib\cmake\liboqs" -S . -B _build + cmake --toolchain ${{ matrix.toolchain }} -DCMAKE_BUILD_TYPE=${{ matrix.type }} -DCMAKE_C_COMPILER="cl" -DCMAKE_C_FLAGS="/wd5105" -DOPENSSL_ROOT_DIR="c:\openssl32n" -Dliboqs_DIR="c:\liboqs\lib\cmake\liboqs" -S . -B _build cmake --build _build --config=${{ matrix.type }} - name: Run tests run: | diff --git a/oqs-template/requirements.txt b/oqs-template/requirements.txt index 6bd605b4..1cc5566d 100644 --- a/oqs-template/requirements.txt +++ b/oqs-template/requirements.txt @@ -1,4 +1,4 @@ -Jinja2==3.0.3 +Jinja2==3.1.3 MarkupSafe==2.1.3 PyYAML==6.0 tabulate==0.9.0