Update GitLab CI content to match Adrien's RAJA PR #20
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
on: push | |
name: Build | |
jobs: | |
build_docker: | |
strategy: | |
matrix: | |
target: [gcc12, gcc13, clang13, clang15, rocm5.6, rocm5.6_desul, intel2024, intel2024_debug, 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: | |
## ==================================== | |
## Shared library build generated undefined symbol errors that are not | |
## understood -RDH | |
## - 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=c++17 | |
CMAKE_BUILD_TYPE=Release | |
PERFSUITE_RUN_SHORT_TEST=On | |
${{ 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 |