Skip to content

Commit

Permalink
github actions: add cpp14 and cpp17 windows ci builds (#1161)
Browse files Browse the repository at this point in the history
* add cpp14 and cpp17 windows ci builds
  • Loading branch information
cyrush committed Nov 7, 2023
1 parent 746826b commit 59d0e9e
Showing 1 changed file with 43 additions and 1 deletion.
44 changes: 43 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
build_windows_msvc_base:
name: MSVC Base Release
name: MSVC 2019 Default Release
runs-on: windows-2019
steps:
- name: Setup MPI
Expand All @@ -25,6 +25,48 @@ jobs:
cmake --build build --config Release --parallel 2
cmake -E env CTEST_OUTPUT_ON_FAILURE=1 cmake --build build --config Release --target RUN_TESTS --parallel 1
build_windows_msvc_base_cpp14:
name: MSVC 2019 C++14 Release
runs-on: windows-2019
steps:
- name: Setup MPI
uses: mpi4py/setup-mpi@v1
- name: Setup Python Env
run: python3 -m pip install --upgrade pip numpy mpi4py
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Build & Test
run: |
cmake -S src -B build `
-DBLT_CXX_STD=c++14 `
-DCMAKE_BUILD_TYPE=Release `
-DENABLE_PYTHON=ON `
-DENABLE_MPI=ON
cmake --build build --config Release --parallel 2
cmake -E env CTEST_OUTPUT_ON_FAILURE=1 cmake --build build --config Release --target RUN_TESTS --parallel 1
build_windows_msvc_base_cpp17:
name: MSVC 2022 C++17 Release
runs-on: windows-2022
steps:
- name: Setup MPI
uses: mpi4py/setup-mpi@v1
- name: Setup Python Env
run: python3 -m pip install --upgrade pip numpy mpi4py
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Build & Test
run: |
cmake -S src -B build `
-DBLT_CXX_STD=c++17 `
-DCMAKE_BUILD_TYPE=Release `
-DENABLE_PYTHON=ON `
-DENABLE_MPI=ON
cmake --build build --config Release --parallel 2
cmake -E env CTEST_OUTPUT_ON_FAILURE=1 cmake --build build --config Release --target RUN_TESTS --parallel 1
build_windows_msvc_py_ver:
name: MSVC Release Py Verison
runs-on: windows-2019
Expand Down

0 comments on commit 59d0e9e

Please sign in to comment.