-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Partition tests between azure and GItHub Actions + some goodies.
- Loading branch information
1 parent
ed1d8f0
commit 8840330
Showing
5 changed files
with
208 additions
and
98 deletions.
There are no files selected for viewing
This file contains 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,25 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
|
||
A clear and concise description of what the bug is: | ||
|
||
**To Reproduce** | ||
|
||
Steps to reproduce the behavior: | ||
|
||
**Expected behavior** | ||
|
||
A clear and concise description of what you expected to happen: | ||
|
||
**Compilers & Libraries (please complete the following information):** | ||
- Compiler & version: [e.g. GCC 4.9.3]: | ||
- CUDA version (if applicable): | ||
|
||
**Additional context** | ||
|
||
Add any other context about the problem here. |
This file contains 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,22 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
|
||
A clear and concise description of what the problem is. | ||
|
||
**Describe the solution you'd like** | ||
|
||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
|
||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
|
||
Add any other context or information about the feature request here. | ||
|
This file contains 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,86 @@ | ||
on: push | ||
name: Build | ||
jobs: | ||
build_docker: | ||
strategy: | ||
matrix: | ||
target: [gcc12, gcc13, clang13, clang15, hip5.6, intel2024, intel2024_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/[email protected] | ||
with: | ||
build-dir: build | ||
options: | ||
CMAKE_CXX_STANDARD=14 | ||
ENABLE_OPENMP=Off | ||
CMAKE_BUILD_TYPE=Release | ||
run-build: true | ||
build-args: '--parallel 16' | ||
- uses: threeal/[email protected] | ||
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/[email protected] | ||
with: | ||
build-dir: build | ||
options: | ||
ENABLE_WARNINGS_AS_ERRORS=Off | ||
BLT_CXX_STD="" | ||
CMAKE_CXX_STANDARD=17 | ||
CMAKE_BUILD_TYPE=Release | ||
${{ matrix.shared.args }} | ||
run-build: true | ||
build-args: '--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/[email protected] | ||
with: | ||
build-config: Debug | ||
## ==================================== | ||
## Attempt to run tests by invoking ctest manually. | ||
## Generates errors similar to above -- cannot find test executables. | ||
## - name: Test | ||
## working-directory: ${{github.workspace}}/build | ||
## run: ctest -C Release --output-on-failure | ||
## ==================================== | ||
## Another attempt. | ||
## This produces no errors, but test executables are not found. | ||
## - name: Run Tests | ||
## run: ctest.exe -C Release | ||
## shell: bash |
This file contains 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
This file contains 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