Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 6eac50b

Browse files
committed
fix: windows
1 parent df5d498 commit 6eac50b

2 files changed

Lines changed: 41 additions & 24 deletions

File tree

.github/workflows/cortex-cpp-quality-gate.yml

Lines changed: 40 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -21,37 +21,53 @@ jobs:
2121
fail-fast: false
2222
matrix:
2323
include:
24-
- os: "linux"
25-
name: "arm64"
26-
runs-on: "ubuntu-2004-arm64"
27-
cmake-flags: "-DCORTEX_CPP_VERSION=${{github.event.pull_request.head.sha}} -DCMAKE_BUILD_TEST=ON"
28-
build-deps-cmake-flags: ""
29-
ccache-dir: ""
30-
- os: "linux"
31-
name: "amd64"
32-
runs-on: "ubuntu-20-04-cuda-12-0"
33-
cmake-flags: "-DCORTEX_CPP_VERSION=${{github.event.pull_request.head.sha}} -DCMAKE_BUILD_TEST=ON"
34-
build-deps-cmake-flags: ""
35-
ccache-dir: ""
36-
- os: "mac"
37-
name: "amd64"
38-
runs-on: "macos-selfhosted-12"
39-
cmake-flags: "-DCORTEX_CPP_VERSION=${{github.event.pull_request.head.sha}} -DCMAKE_BUILD_TEST=ON"
40-
build-deps-cmake-flags: ""
41-
ccache-dir: ""
42-
- os: "mac"
43-
name: "arm64"
44-
runs-on: "macos-selfhosted-12-arm64"
45-
cmake-flags: "-DCORTEX_CPP_VERSION=${{github.event.pull_request.head.sha}} -DCMAKE_BUILD_TEST=ON -DMAC_ARM64=ON"
46-
build-deps-cmake-flags: ""
47-
ccache-dir: ""
24+
# - os: "linux"
25+
# name: "arm64"
26+
# runs-on: "ubuntu-2004-arm64"
27+
# cmake-flags: "-DCORTEX_CPP_VERSION=${{github.event.pull_request.head.sha}} -DCMAKE_BUILD_TEST=ON"
28+
# build-deps-cmake-flags: ""
29+
# ccache-dir: ""
30+
# - os: "linux"
31+
# name: "amd64"
32+
# runs-on: "ubuntu-20-04-cuda-12-0"
33+
# cmake-flags: "-DCORTEX_CPP_VERSION=${{github.event.pull_request.head.sha}} -DCMAKE_BUILD_TEST=ON"
34+
# build-deps-cmake-flags: ""
35+
# ccache-dir: ""
36+
# - os: "mac"
37+
# name: "amd64"
38+
# runs-on: "macos-selfhosted-12"
39+
# cmake-flags: "-DCORTEX_CPP_VERSION=${{github.event.pull_request.head.sha}} -DCMAKE_BUILD_TEST=ON"
40+
# build-deps-cmake-flags: ""
41+
# ccache-dir: ""
42+
# - os: "mac"
43+
# name: "arm64"
44+
# runs-on: "macos-selfhosted-12-arm64"
45+
# cmake-flags: "-DCORTEX_CPP_VERSION=${{github.event.pull_request.head.sha}} -DCMAKE_BUILD_TEST=ON -DMAC_ARM64=ON"
46+
# build-deps-cmake-flags: ""
47+
# ccache-dir: ""
4848
- os: "windows"
4949
name: "amd64"
5050
runs-on: "windows-cuda-12-0"
5151
cmake-flags: "-DCORTEX_CPP_VERSION=${{github.event.pull_request.head.sha}} -DCMAKE_BUILD_TEST=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CUDA_COMPILER_LAUNCHER=ccache -GNinja"
5252
build-deps-cmake-flags: "-DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CUDA_COMPILER_LAUNCHER=ccache -GNinja"
5353
ccache-dir: 'C:\Users\ContainerAdministrator\AppData\Local\ccache'
5454
steps:
55+
- name: Setup Perl
56+
if: runner.os == 'Windows'
57+
uses: shogo82148/actions-setup-perl@v1
58+
with:
59+
perl-version: "5.32"
60+
distribution: strawberry
61+
- name: perl -V
62+
run: perl -V
63+
- name: Ensure we have a working toolchain
64+
run: cpanm ExtUtils::Manifest App::cpanminus
65+
- name: Install Dependencies
66+
run: cpanm -n --installdeps .
67+
# - name: Run Tests
68+
# run: cpanm --test-only -v .
69+
70+
5571
- name: Clone
5672
id: checkout
5773
uses: actions/checkout@v3

engine/cmake/openssl.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ set(OPENSSL_INCLUDE_DIR ${OPENSSL_INSTALL_DIR}/include)
2424
set(OPENSSL_CONFIGURE_COMMAND ${OPENSSL_SOURCE_DIR}/config)
2525
if(MSVC)
2626
ExternalProject_Add(
27+
OpenSSL
2728
SOURCE_DIR ${OPENSSL_SOURCE_DIR}
2829
GIT_REPOSITORY https://github.com/openssl/openssl.git
2930
GIT_TAG openssl-3.4.1

0 commit comments

Comments
 (0)