File tree Expand file tree Collapse file tree 4 files changed +17
-13
lines changed
Expand file tree Collapse file tree 4 files changed +17
-13
lines changed Original file line number Diff line number Diff line change 1- name : macos CI
1+ name : macOS
22
33on :
44 pull_request :
@@ -22,12 +22,18 @@ concurrency:
2222
2323jobs :
2424 ubuntu-build :
25- runs-on : macos-latest
25+ strategy :
26+ fail-fast : false
27+ matrix :
28+ runs-on : [macos-14, macos-15]
29+ runs-on : ${{matrix.runs-on}}
2630 steps :
2731 - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
2832 - name : Prepare
2933 run : cmake -B build
3034 - name : Build
31- run : cmake --build build -j=2
35+ # m1 machines have 3 CPU
36+ # Ref: https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners
37+ run : cmake --build build -j=3
3238 - name : Test
3339 run : ctest --output-on-failure --test-dir build
Original file line number Diff line number Diff line change 1- name : Ubuntu 24.04 CI
1+ name : Ubuntu
22
33on :
44 pull_request :
@@ -21,12 +21,13 @@ concurrency:
2121 cancel-in-progress : true
2222
2323jobs :
24- ubuntu-build :
25- runs-on : ubuntu-24.04
24+ build :
2625 strategy :
2726 matrix :
27+ runs-on : [ubuntu-24.04]
2828 shared : [ON, OFF]
2929 cxx : [g++-14]
30+ runs-on : ${{matrix.runs-on}}
3031 steps :
3132 - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
3233 - name : Setup Ninja
3637 env :
3738 CXX : ${{matrix.cxx}}
3839 - name : Build
39- run : cmake --build build -j=2
40+ run : cmake --build build -j=4
4041 - name : Test
4142 run : ctest --output-on-failure --test-dir build
Original file line number Diff line number Diff line change 1- name : VS17 CI
1+ name : Windows
22
33on :
44 pull_request :
@@ -21,9 +21,8 @@ concurrency:
2121 cancel-in-progress : true
2222
2323jobs :
24- ci :
25- name : windows-vs17
26- runs-on : windows-latest
24+ build :
25+ runs-on : windows-2025
2726 strategy :
2827 fail-fast : false
2928 matrix :
Original file line number Diff line number Diff line change 11add_library (ncrypto ncrypto.cpp engine.cpp)
2- add_dependencies (ncrypto crypto ssl)
32target_link_libraries (ncrypto PUBLIC ssl crypto)
43target_include_directories (ncrypto
54 PUBLIC
65 $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR} /include >
76 $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR} /include >
87 $<BUILD_INTERFACE:${CMAKE_SOURCE_DIR} >
9- $<BUILD_INTERFACE:${boringssl_SOURCE_DIR} /include >
108)
You can’t perform that action at this time.
0 commit comments