-
Notifications
You must be signed in to change notification settings - Fork 25
Transition to Github Actions #215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
a50a168
GH actions YAML.
rchen20 93c5423
Specify Windows release build.
rchen20 ee14776
Add rocm GH actions.
rchen20 d7b0ff8
Specify rocm 6.4.3.
rchen20 8870caa
Link time search path.
rchen20 8f91272
Add other configurations.
rchen20 99039dd
Removing Azure pipelines.
rchen20 93fa649
Set CMake to 3.29 for Mac and Windows.
rchen20 59815d8
Remove check on push, keep pull_request.
rchen20 20d2148
Simplify GHA names.
rchen20 b66e1a8
Differentiate between rocm 6.4.3 and latest.
rchen20 68ecef9
Test GHA targets in Dockerfile.
rchen20 5b77a89
Debugging non-radiuss builds.
rchen20 ac67c13
Literal ctest extra.
rchen20 8040a31
Change sycl to use Radiuss Docker image.
rchen20 2c0d48f
Switch standard CUDA and ROCM to use Radiuss Docker images.
rchen20 263d825
Use build_docker base name.
rchen20 2dd55f2
Clean up build.yml
rchen20 0923d6c
Revert to CUDA Docker image from Nvidia. Clean up Dockerfile.
rchen20 24b3713
Just use targets, not names.
rchen20 d4321df
Run tests for CPU, but not for GPU. Clean build dir.
rchen20 1d4122c
Better form for library path.
rchen20 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,78 @@ | ||
| on: | ||
| pull_request: | ||
| name: Build | ||
| jobs: | ||
| build_docker: | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| target: [gcc11_debug, gcc11, gcc14, clang19, nvcc12, nvcc12_debug, rocm6_4_3, rocm_latest, sycl] | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - run: | | ||
| sudo rm -rf /usr/share/dotnet | ||
| sudo rm -rf /usr/local/lib/android | ||
| sudo rm -rf /opt/ghc | ||
| sudo rm -rf /opt/hostedtoolcache/CodeQL | ||
| sudo docker image prune --all --force | ||
| - uses: actions/checkout@v2 | ||
| with: | ||
| submodules: recursive | ||
| - uses: docker/setup-buildx-action@v3 | ||
| - uses: docker/build-push-action@v6 | ||
| with: | ||
| target: ${{ matrix.target }} | ||
| build_mac: | ||
| runs-on: macos-latest | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| with: | ||
| submodules: recursive | ||
| - 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' | ||
| - uses: threeal/ctest-action@v1.1.0 | ||
| build_windows: | ||
| strategy: | ||
| matrix: | ||
| shared: | ||
| - args: | ||
| BUILD_SHARED_LIBS=On | ||
| CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=On | ||
| - args: BUILD_SHARED_LIBS=Off | ||
|
|
||
| runs-on: windows-latest | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| with: | ||
| submodules: recursive | ||
| ## ==================================== | ||
| ## Config and build action | ||
| - 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 | ||
| BLT_CXX_STD="c++20" | ||
| CMAKE_CXX_STANDARD=20 | ||
| CMAKE_BUILD_TYPE=Release | ||
| ${{ matrix.shared.args }} | ||
| run-build: true | ||
| build-args: '--config Release --parallel 16' | ||
| ## ==================================== | ||
| ## Print the contents of the test directory in the build space (debugging) | ||
| ## - run: | | ||
| ## dir -r D:\a\RAJA\RAJA\build\test | ||
| ## ==================================== | ||
| ## Run tests action | ||
| - uses: threeal/ctest-action@v1.1.0 | ||
| with: | ||
| build-config: Release | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not BLT_CXX_STD which sets CMAKE_CXX_STANDARD, CMAKE_CUDA_STANDARD and CMAKE_HIP_STANDARD (the latter two only when building with CUDA or HIP).