Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 23 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,22 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: recursive

## Back off to version of cmake not on "bleeding edge"
- name: Install CMake 3.29
uses: lukka/get-cmake@e6906078ebd1ccb8ce51ab4626ac46a1b5a517e3 # v4.4.0
with:
cmakeVersion: "~3.29.0"

- uses: threeal/cmake-action@v1.3.0
with:
cmake-version: '3.29.x' # Back off version of cmake with known issue
build-dir: build
options:
CMAKE_CXX_STANDARD=20
ENABLE_OPENMP=Off
CMAKE_BUILD_TYPE=Release
run-build: true
build-args: '--parallel 16'
build-args: '--parallel 4'
- uses: threeal/ctest-action@v1.1.0
build_windows:
strategy:
Expand All @@ -48,16 +54,27 @@ jobs:
CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=On
- args: BUILD_SHARED_LIBS=Off

runs-on: windows-latest
# Notes on Windows CI
# The windows-2025 runner has converted to Visual Studio (VS) 2026.
# cmake added VS 2026 support in cmake v4.2, we had issues with cmake 4.4 related to JSON parsing.
# Testing is currently done on the windows-2022 runner with VS 2022 until the issue can
# be resolved.
runs-on: windows-2022
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
## ====================================
## Config and build action

## Back off to version of cmake not on "bleeding edge"
- name: Install CMake 3.29
uses: lukka/get-cmake@e6906078ebd1ccb8ce51ab4626ac46a1b5a517e3 # v4.4.0
with:
cmakeVersion: "~3.29.0"

- uses: threeal/cmake-action@v1.3.0
with:
cmake-version: '3.29.x' # Back off version of cmake with known issue
build-dir: build
options:
ENABLE_WARNINGS_AS_ERRORS=Off
Expand All @@ -66,11 +83,11 @@ jobs:
CMAKE_BUILD_TYPE=Release
${{ matrix.shared.args }}
run-build: true
build-args: '--config Release --parallel 16'
build-args: '--config Release --parallel 4'
## ====================================
## Print the contents of the test directory in the build space (debugging)
## - run: |
## dir -r D:\a\RAJA\RAJA\build\test
## dir -r D:\a\camp\camp\build\test
## ====================================
## Run tests action
- uses: threeal/ctest-action@v1.1.0
Expand Down
Loading