diff --git a/.github/workflows/pkgci_test_amd_mi250.yml b/.github/workflows/pkgci_test_amd_mi250.yml index 07a3bec43477..6253a59301a5 100644 --- a/.github/workflows/pkgci_test_amd_mi250.yml +++ b/.github/workflows/pkgci_test_amd_mi250.yml @@ -30,11 +30,11 @@ jobs: IREE_HIP_DISABLE: 0 IREE_HIP_TEST_TARGET_CHIP: "gfx90a" steps: - - name: Checking out repository + - name: Check out repository uses: actions/checkout@v4.1.7 with: submodules: false - - name: "Checking out runtime submodules" + - name: Check out runtime submodules run: ./build_tools/scripts/git/update_runtime_submodules.sh - uses: actions/setup-python@v5.1.0 with: @@ -49,9 +49,16 @@ jobs: ./build_tools/pkgci/setup_venv.py ${VENV_DIR} \ --artifact-path=${PACKAGE_DOWNLOAD_DIR} \ --fetch-gh-workflow=${{ inputs.artifact_run_id }} - - name: "Building tests" + - name: Install build dependencies + run: | + sudo apt update + sudo apt install -y cmake clang ninja-build libstdc++-12-dev + echo "CC=clang" >> $GITHUB_ENV + echo "CXX=clang++" >> $GITHUB_ENV + + - name: Build tests run: ./build_tools/pkgci/build_tests_using_package.sh ${VENV_DIR}/bin - - name: "Running GPU tests" + - name: Run GPU tests env: CTEST_PARALLEL_LEVEL: 2 IREE_CTEST_LABEL_REGEX: ^requires-gpu|^driver=hip$ diff --git a/.github/workflows/pkgci_test_amd_mi300.yml b/.github/workflows/pkgci_test_amd_mi300.yml index e3bb23a083ed..23a938dd49c6 100644 --- a/.github/workflows/pkgci_test_amd_mi300.yml +++ b/.github/workflows/pkgci_test_amd_mi300.yml @@ -35,11 +35,11 @@ jobs: if: contains(matrix.name, 'gfx942') run: | sudo chmod -R 777 ~/actions-runner/_work - - name: Checking out repository + - name: Check out repository uses: actions/checkout@v4.1.7 with: submodules: false - - name: "Checking out runtime submodules" + - name: Check out runtime submodules run: ./build_tools/scripts/git/update_runtime_submodules.sh - uses: actions/setup-python@v5.1.0 with: @@ -54,9 +54,16 @@ jobs: ./build_tools/pkgci/setup_venv.py ${VENV_DIR} \ --artifact-path=${PACKAGE_DOWNLOAD_DIR} \ --fetch-gh-workflow=${{ inputs.artifact_run_id }} - - name: "Building tests" + - name: Install build dependencies + run: | + sudo apt update + sudo apt install -y cmake clang ninja-build libstdc++-12-dev + echo "CC=clang" >> $GITHUB_ENV + echo "CXX=clang++" >> $GITHUB_ENV + + - name: Build tests run: ./build_tools/pkgci/build_tests_using_package.sh ${VENV_DIR}/bin - - name: "Running GPU tests" + - name: Run GPU tests env: CTEST_PARALLEL_LEVEL: 2 IREE_CTEST_LABEL_REGEX: ^requires-gpu|^driver=hip$ diff --git a/.github/workflows/pkgci_test_amd_w7900.yml b/.github/workflows/pkgci_test_amd_w7900.yml index 3f6024ab6694..574a236ceea1 100644 --- a/.github/workflows/pkgci_test_amd_w7900.yml +++ b/.github/workflows/pkgci_test_amd_w7900.yml @@ -30,11 +30,11 @@ jobs: IREE_HIP_DISABLE: 0 IREE_HIP_TEST_TARGET_CHIP: "gfx1100" steps: - - name: Checking out repository + - name: Check out repository uses: actions/checkout@v4.1.7 with: submodules: false - - name: "Checking out runtime submodules" + - name: Check out runtime submodules run: ./build_tools/scripts/git/update_runtime_submodules.sh - uses: actions/setup-python@v5.1.0 with: @@ -49,9 +49,10 @@ jobs: ./build_tools/pkgci/setup_venv.py ${VENV_DIR} \ --artifact-path=${PACKAGE_DOWNLOAD_DIR} \ --fetch-gh-workflow=${{ inputs.artifact_run_id }} - - name: "Building tests" + + - name: Build tests run: ./build_tools/pkgci/build_tests_using_package.sh ${VENV_DIR}/bin - - name: "Running GPU tests" + - name: Run GPU tests env: CTEST_PARALLEL_LEVEL: 1 IREE_CTEST_LABEL_REGEX: ^requires-gpu|^driver=vulkan$|^driver=hip$ diff --git a/.github/workflows/pkgci_test_nvidia_t4.yml b/.github/workflows/pkgci_test_nvidia_t4.yml index fa8d7e6d6021..acf63fe04bff 100644 --- a/.github/workflows/pkgci_test_nvidia_t4.yml +++ b/.github/workflows/pkgci_test_nvidia_t4.yml @@ -34,19 +34,13 @@ jobs: IREE_CUDA_DISABLE: 0 IREE_HIP_DISABLE: 1 steps: - - name: Checking out repository + - name: Check out repository uses: actions/checkout@v4.1.7 with: submodules: false - - name: "Checking out runtime submodules" + - name: Check out runtime submodules run: ./build_tools/scripts/git/update_runtime_submodules.sh - - name: Install dependencies - run: | - sudo apt update - sudo apt install -y cmake clang ninja-build - export CC=clang - export CXX=clang - - name: Querying GPU information + - name: Query GPU information run: | ./build_tools/scripts/check_cuda.sh ./build_tools/scripts/check_vulkan.sh @@ -63,9 +57,16 @@ jobs: ./build_tools/pkgci/setup_venv.py ${VENV_DIR} \ --artifact-path=${PACKAGE_DOWNLOAD_DIR} \ --fetch-gh-workflow=${{ inputs.artifact_run_id }} - - name: "Building tests" + - name: Install build dependencies + run: | + sudo apt update + sudo apt install -y cmake clang ninja-build libstdc++-12-dev + echo "CC=clang" >> $GITHUB_ENV + echo "CXX=clang++" >> $GITHUB_ENV + + - name: Build tests run: ./build_tools/pkgci/build_tests_using_package.sh ${VENV_DIR}/bin - - name: "Running GPU tests" + - name: Run GPU tests env: CTEST_PARALLEL_LEVEL: 2 IREE_CTEST_LABEL_REGEX: ^requires-gpu|^driver=vulkan$|^driver=cuda$ diff --git a/.github/workflows/samples.yml b/.github/workflows/samples.yml index 0fbb34bb3d75..ad83810af72b 100644 --- a/.github/workflows/samples.yml +++ b/.github/workflows/samples.yml @@ -49,9 +49,9 @@ jobs: - name: "Installing build dependencies" run: | sudo apt update - sudo apt install cmake clang ninja-build - export CC=clang - export CXX=clang++ + sudo apt install -y cmake clang ninja-build libstdc++-12-dev + echo "CC=clang" >> $GITHUB_ENV + echo "CXX=clang++" >> $GITHUB_ENV - name: "Setting up Python" uses: actions/setup-python@v5.1.0 with: