From 4acbd7b76a25883453af216078da092a0c613565 Mon Sep 17 00:00:00 2001 From: Danyi Lin Date: Thu, 8 Dec 2022 11:00:13 -0500 Subject: [PATCH 01/18] Create cmake.yml --- .github/workflows/cmake.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/cmake.yml diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml new file mode 100644 index 000000000..e6eaff7fb --- /dev/null +++ b/.github/workflows/cmake.yml @@ -0,0 +1,37 @@ +name: CMake + +on: + push: + branches: [ "develop" ] + pull_request: + branches: [ "develop" ] + +env: + # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) + BUILD_TYPE: Release + +jobs: + build: + # The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac. + # You can convert this to a matrix build if you need cross-platform coverage. + # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Configure CMake + # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. + # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} + + - name: Build + # Build your program with the given configuration + run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} + + - name: Test + working-directory: ${{github.workspace}}/build + # Execute tests defined by the CMake configuration. + # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail + run: ctest -C ${{env.BUILD_TYPE}} + From c77e70c537fa5f8ae7c78aadc343610cff6a43ec Mon Sep 17 00:00:00 2001 From: Danyi Lin Date: Thu, 22 Dec 2022 14:58:28 -0500 Subject: [PATCH 02/18] Update cmake.yml --- .github/workflows/cmake.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index e6eaff7fb..1e67d9dfb 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -15,11 +15,18 @@ jobs: # The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac. # You can convert this to a matrix build if you need cross-platform coverage. # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 + - name: Install HIP + run: >- apt-get update && + apt-get install wget -y && + wget https://repo.radeon.com/amdgpu-install/5.4/ubuntu/jammy/amdgpu-install_5.4.50400-1_all.deb && + apt-get install ./amdgpu-install_5.4.50400-1_all.deb && + amdgpu-install --usecase=rocm + - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type From 050b7d9e5579abf040c4755ca83e497f33a4a7f5 Mon Sep 17 00:00:00 2001 From: Danyi Lin Date: Thu, 22 Dec 2022 15:00:51 -0500 Subject: [PATCH 03/18] Update cmake.yml --- .github/workflows/cmake.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 1e67d9dfb..7351b3b81 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -21,11 +21,7 @@ jobs: - uses: actions/checkout@v3 - name: Install HIP - run: >- apt-get update && - apt-get install wget -y && - wget https://repo.radeon.com/amdgpu-install/5.4/ubuntu/jammy/amdgpu-install_5.4.50400-1_all.deb && - apt-get install ./amdgpu-install_5.4.50400-1_all.deb && - amdgpu-install --usecase=rocm + run: apt-get update && apt-get install wget -y && wget https://repo.radeon.com/amdgpu-install/5.4/ubuntu/jammy/amdgpu-install_5.4.50400-1_all.deb && apt-get install ./amdgpu-install_5.4.50400-1_all.deb && amdgpu-install --usecase=rocm - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. From aabe457807681442dc656bad6eeae03c0f6bca1c Mon Sep 17 00:00:00 2001 From: Danyi Lin Date: Thu, 22 Dec 2022 15:39:46 -0500 Subject: [PATCH 04/18] Update cmake.yml --- .github/workflows/cmake.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 7351b3b81..ed08d74ce 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -20,8 +20,13 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Install HIP - run: apt-get update && apt-get install wget -y && wget https://repo.radeon.com/amdgpu-install/5.4/ubuntu/jammy/amdgpu-install_5.4.50400-1_all.deb && apt-get install ./amdgpu-install_5.4.50400-1_all.deb && amdgpu-install --usecase=rocm + - name: Install wget + run: | + id + apt-get update && apt-get install wget -y + wget https://repo.radeon.com/amdgpu-install/5.4/ubuntu/jammy/amdgpu-install_5.4.50400-1_all.deb + apt-get install ./amdgpu-install_5.4.50400-1_all.deb + amdgpu-install --usecase=rocm - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. From b0be8d6de412cac76eec57934d9b86b52590167a Mon Sep 17 00:00:00 2001 From: Danyi Lin Date: Thu, 22 Dec 2022 15:42:16 -0500 Subject: [PATCH 05/18] Update cmake.yml --- .github/workflows/cmake.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index ed08d74ce..cfd46e4e2 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -23,10 +23,10 @@ jobs: - name: Install wget run: | id - apt-get update && apt-get install wget -y + sudo apt-get update && sudo apt-get install wget -y wget https://repo.radeon.com/amdgpu-install/5.4/ubuntu/jammy/amdgpu-install_5.4.50400-1_all.deb - apt-get install ./amdgpu-install_5.4.50400-1_all.deb - amdgpu-install --usecase=rocm + sudo apt-get install ./amdgpu-install_5.4.50400-1_all.deb + sudo amdgpu-install --usecase=rocm - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. From f9e576def9d9ec8534d5bd2206a826c688ca7af1 Mon Sep 17 00:00:00 2001 From: Danyi Lin Date: Thu, 22 Dec 2022 15:44:08 -0500 Subject: [PATCH 06/18] Update cmake.yml --- .github/workflows/cmake.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index cfd46e4e2..bbb2468bc 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -1,4 +1,4 @@ -name: CMake +name: preCheck Build on: push: From 4a88655ef2601eced2fef123bb2bcf65feb71876 Mon Sep 17 00:00:00 2001 From: Danyi Lin Date: Thu, 22 Dec 2022 16:18:26 -0500 Subject: [PATCH 07/18] Update cmake.yml --- .github/workflows/cmake.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index bbb2468bc..4b5bc6739 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -20,15 +20,16 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Install wget + - name: Install ROCm run: | - id sudo apt-get update && sudo apt-get install wget -y wget https://repo.radeon.com/amdgpu-install/5.4/ubuntu/jammy/amdgpu-install_5.4.50400-1_all.deb sudo apt-get install ./amdgpu-install_5.4.50400-1_all.deb sudo amdgpu-install --usecase=rocm - name: Configure CMake + env: + ROCM_PATH=ROCM_PATH: /opt/rocm-5.4.0 # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} From 5c802758ca3bdea23e6c2fadb59d73ebb9219389 Mon Sep 17 00:00:00 2001 From: Danyi Lin Date: Thu, 22 Dec 2022 16:23:16 -0500 Subject: [PATCH 08/18] Update cmake.yml --- .github/workflows/cmake.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 4b5bc6739..3b64cea94 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -32,7 +32,7 @@ jobs: ROCM_PATH=ROCM_PATH: /opt/rocm-5.4.0 # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type - run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_TEST=ON -DBUILD_BENCHMARK=ON -DAMDGPU_TARGETS="gfx906:xnack-" -DBUILD_SHARED=OFF -DBUILD_BENCHMARK=ON - name: Build # Build your program with the given configuration From f74043072479d5bd7b29a782efe51fb5ab9f15a6 Mon Sep 17 00:00:00 2001 From: Danyi Lin Date: Thu, 22 Dec 2022 16:45:48 -0500 Subject: [PATCH 09/18] Update cmake.yml --- .github/workflows/cmake.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 3b64cea94..d3a663027 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -26,13 +26,14 @@ jobs: wget https://repo.radeon.com/amdgpu-install/5.4/ubuntu/jammy/amdgpu-install_5.4.50400-1_all.deb sudo apt-get install ./amdgpu-install_5.4.50400-1_all.deb sudo amdgpu-install --usecase=rocm + ls /opt - name: Configure CMake env: ROCM_PATH=ROCM_PATH: /opt/rocm-5.4.0 # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type - run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_TEST=ON -DBUILD_BENCHMARK=ON -DAMDGPU_TARGETS="gfx906:xnack-" -DBUILD_SHARED=OFF -DBUILD_BENCHMARK=ON + run: env && cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_TEST=ON -DBUILD_BENCHMARK=ON -DAMDGPU_TARGETS="gfx906:xnack-" -DBUILD_SHARED=OFF -DBUILD_BENCHMARK=ON - name: Build # Build your program with the given configuration From 4240930564dc90f033d2f555b209650969733048 Mon Sep 17 00:00:00 2001 From: Danyi Lin Date: Thu, 22 Dec 2022 17:04:07 -0500 Subject: [PATCH 10/18] Update cmake.yml --- .github/workflows/cmake.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index d3a663027..262f42778 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -30,7 +30,7 @@ jobs: - name: Configure CMake env: - ROCM_PATH=ROCM_PATH: /opt/rocm-5.4.0 + ROCM_PATH=ROCM_PATH: /opt/rocm # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type run: env && cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_TEST=ON -DBUILD_BENCHMARK=ON -DAMDGPU_TARGETS="gfx906:xnack-" -DBUILD_SHARED=OFF -DBUILD_BENCHMARK=ON From c433af155e7a9b54a260d7fc3ce0c325339d484a Mon Sep 17 00:00:00 2001 From: Danyi Lin Date: Thu, 22 Dec 2022 19:37:45 -0500 Subject: [PATCH 11/18] Update cmake.yml --- .github/workflows/cmake.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 262f42778..14fbfc282 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -21,19 +21,21 @@ jobs: - uses: actions/checkout@v3 - name: Install ROCm - run: | - sudo apt-get update && sudo apt-get install wget -y - wget https://repo.radeon.com/amdgpu-install/5.4/ubuntu/jammy/amdgpu-install_5.4.50400-1_all.deb - sudo apt-get install ./amdgpu-install_5.4.50400-1_all.deb - sudo amdgpu-install --usecase=rocm - ls /opt + run: ls /opt +#sudo apt-get update && sudo apt-get install wget -y +#wget https://repo.radeon.com/amdgpu-install/5.4/ubuntu/jammy/amdgpu-install_5.4.50400-1_all.deb +#sudo apt-get install ./amdgpu-install_5.4.50400-1_all.deb +#sudo amdgpu-install --usecase=rocm - name: Configure CMake env: ROCM_PATH=ROCM_PATH: /opt/rocm # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type - run: env && cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_TEST=ON -DBUILD_BENCHMARK=ON -DAMDGPU_TARGETS="gfx906:xnack-" -DBUILD_SHARED=OFF -DBUILD_BENCHMARK=ON + run: | + env + echo ${ROCM_PATH} + cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_TEST=ON -DBUILD_BENCHMARK=ON -DAMDGPU_TARGETS="gfx906:xnack-" -DBUILD_SHARED=OFF -DBUILD_BENCHMARK=ON - name: Build # Build your program with the given configuration From d6b9d91b9039878df3c7254ec4fc074777f7982f Mon Sep 17 00:00:00 2001 From: Danyi Lin Date: Thu, 22 Dec 2022 19:44:00 -0500 Subject: [PATCH 12/18] Update cmake.yml --- .github/workflows/cmake.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 14fbfc282..54d4da4b9 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -21,15 +21,15 @@ jobs: - uses: actions/checkout@v3 - name: Install ROCm - run: ls /opt -#sudo apt-get update && sudo apt-get install wget -y -#wget https://repo.radeon.com/amdgpu-install/5.4/ubuntu/jammy/amdgpu-install_5.4.50400-1_all.deb -#sudo apt-get install ./amdgpu-install_5.4.50400-1_all.deb -#sudo amdgpu-install --usecase=rocm + run: | + sudo apt-get update && sudo apt-get install wget -y + wget https://repo.radeon.com/amdgpu-install/5.4/ubuntu/jammy/amdgpu-install_5.4.50400-1_all.deb + sudo apt-get install ./amdgpu-install_5.4.50400-1_all.deb + sudo amdgpu-install --usecase=rocm - name: Configure CMake env: - ROCM_PATH=ROCM_PATH: /opt/rocm + ROCM_PATH: /opt/rocm # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type run: | From 433bd03072d5459de02474ed07b908f6c77c2cd1 Mon Sep 17 00:00:00 2001 From: Danyi Lin Date: Thu, 22 Dec 2022 20:08:37 -0500 Subject: [PATCH 13/18] Update cmake.yml --- .github/workflows/cmake.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 54d4da4b9..3e4cd74d7 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -30,11 +30,15 @@ jobs: - name: Configure CMake env: ROCM_PATH: /opt/rocm + # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type run: | + echo "################ Environment variables ###################" env - echo ${ROCM_PATH} + echo "##########################################################" + unset CXX + CXX=${ROCM_PATH}/bin/hipcc cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_TEST=ON -DBUILD_BENCHMARK=ON -DAMDGPU_TARGETS="gfx906:xnack-" -DBUILD_SHARED=OFF -DBUILD_BENCHMARK=ON - name: Build From dd8f3c6537b423e1abe8a4541847f0a8dac17490 Mon Sep 17 00:00:00 2001 From: Danyi Lin Date: Thu, 22 Dec 2022 20:24:42 -0500 Subject: [PATCH 14/18] Update and rename cmake.yml to pre-check.yml --- .github/workflows/{cmake.yml => pre-check.yml} | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) rename .github/workflows/{cmake.yml => pre-check.yml} (97%) diff --git a/.github/workflows/cmake.yml b/.github/workflows/pre-check.yml similarity index 97% rename from .github/workflows/cmake.yml rename to .github/workflows/pre-check.yml index 3e4cd74d7..72f061774 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/pre-check.yml @@ -30,15 +30,14 @@ jobs: - name: Configure CMake env: ROCM_PATH: /opt/rocm + CXX: ${ROCM_PATH}/bin/hipcc # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type run: | echo "################ Environment variables ###################" env - echo "##########################################################" - unset CXX - CXX=${ROCM_PATH}/bin/hipcc + echo "##########################################################" cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_TEST=ON -DBUILD_BENCHMARK=ON -DAMDGPU_TARGETS="gfx906:xnack-" -DBUILD_SHARED=OFF -DBUILD_BENCHMARK=ON - name: Build From 45a697660541014b18c5ecfcc69f1646de75fa99 Mon Sep 17 00:00:00 2001 From: Danyi Lin Date: Thu, 22 Dec 2022 20:37:59 -0500 Subject: [PATCH 15/18] Update pre-check.yml --- .github/workflows/pre-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pre-check.yml b/.github/workflows/pre-check.yml index 72f061774..7354da9b3 100644 --- a/.github/workflows/pre-check.yml +++ b/.github/workflows/pre-check.yml @@ -30,7 +30,7 @@ jobs: - name: Configure CMake env: ROCM_PATH: /opt/rocm - CXX: ${ROCM_PATH}/bin/hipcc + CXX: /opt/rocm/bin/hipcc # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type From 6c5f5569bbdfd2557072ca3b816f5a667a222f69 Mon Sep 17 00:00:00 2001 From: Danyi Lin Date: Thu, 22 Dec 2022 21:14:56 -0500 Subject: [PATCH 16/18] Update pre-check.yml --- .github/workflows/pre-check.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pre-check.yml b/.github/workflows/pre-check.yml index 7354da9b3..98d546118 100644 --- a/.github/workflows/pre-check.yml +++ b/.github/workflows/pre-check.yml @@ -19,6 +19,8 @@ jobs: steps: - uses: actions/checkout@v3 + with: + submodules: true - name: Install ROCm run: | From 621241b21b12a5241c685003b88af175eea6f70f Mon Sep 17 00:00:00 2001 From: Danyi Lin Date: Thu, 22 Dec 2022 23:15:05 -0500 Subject: [PATCH 17/18] Update pre-check.yml --- .github/workflows/pre-check.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pre-check.yml b/.github/workflows/pre-check.yml index 98d546118..cb96c5cb2 100644 --- a/.github/workflows/pre-check.yml +++ b/.github/workflows/pre-check.yml @@ -15,7 +15,7 @@ jobs: # The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac. # You can convert this to a matrix build if you need cross-platform coverage. # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix - runs-on: ubuntu-22.04 + runs-on: [self-hosted, Linux, X64] steps: - uses: actions/checkout@v3 @@ -50,5 +50,5 @@ jobs: working-directory: ${{github.workspace}}/build # Execute tests defined by the CMake configuration. # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail - run: ctest -C ${{env.BUILD_TYPE}} + run: ctest -C ${{env.BUILD_TYPE}} --output-on-failure --exclude-regex "(test_rocrand_kernel_xorwow)" From 854d465c4164172e26952c6ffc162c2d5980a9ff Mon Sep 17 00:00:00 2001 From: Danyi Lin Date: Thu, 22 Dec 2022 23:48:11 -0500 Subject: [PATCH 18/18] Update pre-check.yml --- .github/workflows/pre-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pre-check.yml b/.github/workflows/pre-check.yml index cb96c5cb2..74abadea1 100644 --- a/.github/workflows/pre-check.yml +++ b/.github/workflows/pre-check.yml @@ -15,7 +15,7 @@ jobs: # The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac. # You can convert this to a matrix build if you need cross-platform coverage. # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix - runs-on: [self-hosted, Linux, X64] + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3