From 21ebda95fe3f25ae6c2a038309e0f090dba8aedf Mon Sep 17 00:00:00 2001 From: Bhavye Mathur Date: Wed, 14 Feb 2024 22:15:42 +0530 Subject: [PATCH] Updated cibuildwheel & actions/checkout versions Signed-off-by: Bhavye Mathur --- .github/workflows/build-goopylib.yml | 10 +++++----- .github/workflows/codeql-python.yml | 2 +- .github/workflows/pylint.yml | 2 +- CMakeLists.txt | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-goopylib.yml b/.github/workflows/build-goopylib.yml index b054000b..aea59f3d 100644 --- a/.github/workflows/build-goopylib.yml +++ b/.github/workflows/build-goopylib.yml @@ -44,7 +44,7 @@ jobs: os: [ windows-latest, macos-latest ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v4 - name: Configure submodules @@ -70,7 +70,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Configure submodules run: git submodule update --init --recursive @@ -95,10 +95,10 @@ jobs: fail-fast: false matrix: os: [ windows-latest, macos-latest ] - python: [ cp38-*, cp39-*, cp310-*, cp311-* ] + python: [ "cp38-*", "cp39-*", "cp310-*", "cp311-*" ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Configure submodules run: git submodule update --init --recursive @@ -106,7 +106,7 @@ jobs: - name: Build Python wheels env: CIBW_BUILD: ${{ matrix.build }} - uses: pypa/cibuildwheel@v2.11.4 + uses: pypa/cibuildwheel@v2.16.5 - uses: actions/upload-artifact@v4 with: diff --git a/.github/workflows/codeql-python.yml b/.github/workflows/codeql-python.yml index 706e9e52..057bdccb 100644 --- a/.github/workflows/codeql-python.yml +++ b/.github/workflows/codeql-python.yml @@ -31,7 +31,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index e946e5b1..c121e6dc 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -22,7 +22,7 @@ jobs: python-version: ["3.8", "3.9", "3.10", "3.11"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v3 diff --git a/CMakeLists.txt b/CMakeLists.txt index 428c3913..e491821e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,7 +14,7 @@ if (APPLE) set(CMAKE_CXX_FLAGS "-Wall -Wno-unknown-pragmas") elseif (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") set(CMAKE_CXX_FLAGS_DEBUG /Od) - set(CMAKE_CXX_FLAGS_RELEASE /O3) + set(CMAKE_CXX_FLAGS_RELEASE /O2) endif () set(CMAKE_CXX_STANDARD 17)