From bff2561b6a5927ec36197361f1262b54e4f476c9 Mon Sep 17 00:00:00 2001 From: agibsonccc Date: Fri, 12 Mar 2021 07:41:56 +0900 Subject: [PATCH] Update test runner --- .github/workflows/run-cpu-tests-sanity-checks.yml | 6 +++--- .github/workflows/run-gpu-tests-sanity-checks.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-cpu-tests-sanity-checks.yml b/.github/workflows/run-cpu-tests-sanity-checks.yml index 799558c79..47202170c 100644 --- a/.github/workflows/run-cpu-tests-sanity-checks.yml +++ b/.github/workflows/run-cpu-tests-sanity-checks.yml @@ -12,7 +12,7 @@ jobs: poll-interval-seconds: 10 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - linux-x86_64-cuda-11-2: + linux-x86_64: needs: pre-ci runs-on: [self-hosted] steps: @@ -23,7 +23,7 @@ jobs: access_token: ${{ github.token }} - uses: ./.github/actions/download-dl4j-test-resources-linux - uses: actions/checkout@v2 - - name: Run cuda tests + - name: Run cpu tests shell: bash env: DEBIAN_FRONTEND: noninteractive @@ -34,5 +34,5 @@ jobs: cmake --version protoc --version export OMP_NUM_THREADS=1 - mvn - -DskipTestResourceEnforcement=true -Ptestresources -pl ":deeplearning4j-modelimport,:deeplearning4j-core,:nd4j-native,:samediff-import,:libnd4j" -Dlibnd4j.compute="5.0 5.2 5.3 6.0 8.0" -Ptest-nd4j-cpu --also-make clean test + mvn -DskipTestResourceEnforcement=true -Ptestresources -pl ":deeplearning4j-modelimport,:deeplearning4j-core,:nd4j-native,:samediff-import,:libnd4j" -Ptest-nd4j-native --also-make clean test diff --git a/.github/workflows/run-gpu-tests-sanity-checks.yml b/.github/workflows/run-gpu-tests-sanity-checks.yml index 93fd43d7d..96ebf3364 100644 --- a/.github/workflows/run-gpu-tests-sanity-checks.yml +++ b/.github/workflows/run-gpu-tests-sanity-checks.yml @@ -35,5 +35,5 @@ jobs: protoc --version bash ./change-cuda-versions.sh 11.2 export OMP_NUM_THREADS=1 - mvn -DskipTestResourceEnforcement=true -Ptestresources -pl ":deeplearning4j-modelimport,:deeplearning4j-core,:nd4j-cuda-11.2,:samediff-import,:libnd4j" -Dlibnd4j.compute="5.0 5.2 5.3 6.0 8.0" -Ptest-nd4j-cuda --also-make -Dlibnd4j.chip=cuda clean test + mvn -DskipTestResourceEnforcement=true -Ptestresources -pl ":deeplearning4j-modelimport,:deeplearning4j-core,:nd4j-cuda-11.2,:samediff-import,:libnd4j" -Dlibnd4j.compute="5.0 5.2 5.3 6.0 8.0" -Ptest-nd4j-cuda --also-make -Dlibnd4j.chip=cuda clean test