diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000000..41e69454f8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -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. diff --git a/.github/ISSUE_TEMPLATE/feature_reques.md b/.github/ISSUE_TEMPLATE/feature_reques.md new file mode 100644 index 0000000000..cd2ac307ce --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_reques.md @@ -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. + diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000000..db8f9847d2 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,59 @@ +on: push +name: Build +jobs: + build_docker: + strategy: + matrix: + target: [gcc, clang, hip, cuda, sycl] + runs-on: ubuntu-latest + steps: + - 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: + build-dir: build + options: + CMAKE_CXX_STANDARD=14 + 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 + static: + - args: BUILD_SHARED_LIBS=Off + + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 + with: + submodules: recursive + - uses: threeal/cmake-action@v1.3.0 + 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' + diff --git a/Dockerfile b/Dockerfile index 89e6a83f70..5c2d8c633d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,15 +5,6 @@ # SPDX-License-Identifier: (BSD-3-Clause) ############################################################################### -FROM ghcr.io/rse-ops/gcc-ubuntu-20.04:gcc-7.3.0 AS gcc7.3.0 -ENV GTEST_COLOR=1 -COPY . /home/raja/workspace -WORKDIR /home/raja/workspace/build -RUN cmake -DCMAKE_CXX_COMPILER=g++ -DRAJA_ENABLE_WARNINGS=On -DRAJA_DEPRECATED_TESTS=On -DENABLE_OPENMP=On .. && \ - make -j 6 &&\ - ctest -T test --output-on-failure && \ - cd .. && rm -rf build - FROM ghcr.io/rse-ops/gcc-ubuntu-20.04:gcc-8.1.0 AS gcc8.1.0 ENV GTEST_COLOR=1 COPY . /home/raja/workspace