-
Notifications
You must be signed in to change notification settings - Fork 631
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Progress on #17957 These auxiliary jobs use expensive CPU runners that are currently in short supply. We could add these back as on-demand or nightly jobs, but running them on every commit is too expensive relative to the value they provide. skip-ci: just disabling jobs
- Loading branch information
Showing
1 changed file
with
94 additions
and
90 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -697,8 +697,9 @@ jobs: | |
include: | ||
- name: asan | ||
script: ./build_tools/cmake/build_and_test_asan.sh | ||
- name: tsan | ||
script: ./build_tools/cmake/build_and_test_tsan.sh | ||
# Disabled to reduce self-hosted runners needed. See #17957 | ||
# - name: tsan | ||
# script: ./build_tools/cmake/build_and_test_tsan.sh | ||
steps: | ||
- name: "Checking out repository" | ||
uses: actions/[email protected] | ||
|
@@ -743,38 +744,39 @@ jobs: | |
./build_tools/cmake/ctest_all.sh \ | ||
"${BUILD_DIR}" | ||
gcc: | ||
needs: setup | ||
if: contains(fromJson(needs.setup.outputs.enabled-jobs), 'gcc') | ||
runs-on: | ||
- self-hosted # must come first | ||
- runner-group=${{ needs.setup.outputs.runner-group }} | ||
- environment=${{ needs.setup.outputs.runner-env }} | ||
- cpu | ||
- os-family=Linux | ||
env: | ||
BUILD_DIR: build-gcc | ||
steps: | ||
- name: "Checking out repository" | ||
uses: actions/[email protected] | ||
with: | ||
submodules: true | ||
- name: "Building IREE with gcc" | ||
env: | ||
IREE_WRITE_REMOTE_CCACHE: ${{ needs.setup.outputs.write-caches }} | ||
run: | | ||
./build_tools/github_actions/docker_run.sh \ | ||
--env CC=/usr/bin/gcc-9 \ | ||
--env CXX=/usr/bin/g++-9 \ | ||
--env CMAKE_BUILD_TYPE=Release \ | ||
--env "IREE_TARGET_BACKEND_WEBGPU_SPIRV=OFF" \ | ||
--env "IREE_CCACHE_GCP_TOKEN=$(gcloud auth application-default print-access-token)" \ | ||
--env "IREE_WRITE_REMOTE_CCACHE=${IREE_WRITE_REMOTE_CCACHE}" \ | ||
--env "CCACHE_NAMESPACE=gcr.io/iree-oss/base@sha256:dc314b4fe30fc1315742512891357bffed4d1b62ffcb46258b1e0761c737b446" \ | ||
--env "IREE_BUILD_SETUP_PYTHON_VENV=${BUILD_DIR}/.venv" \ | ||
gcr.io/iree-oss/base@sha256:dc314b4fe30fc1315742512891357bffed4d1b62ffcb46258b1e0761c737b446 \ | ||
./build_tools/cmake/build_all.sh \ | ||
"${BUILD_DIR}" | ||
# Disabled to reduce self-hosted runners needed. See #17957 | ||
# gcc: | ||
# needs: setup | ||
# if: contains(fromJson(needs.setup.outputs.enabled-jobs), 'gcc') | ||
# runs-on: | ||
# - self-hosted # must come first | ||
# - runner-group=${{ needs.setup.outputs.runner-group }} | ||
# - environment=${{ needs.setup.outputs.runner-env }} | ||
# - cpu | ||
# - os-family=Linux | ||
# env: | ||
# BUILD_DIR: build-gcc | ||
# steps: | ||
# - name: "Checking out repository" | ||
# uses: actions/[email protected] | ||
# with: | ||
# submodules: true | ||
# - name: "Building IREE with gcc" | ||
# env: | ||
# IREE_WRITE_REMOTE_CCACHE: ${{ needs.setup.outputs.write-caches }} | ||
# run: | | ||
# ./build_tools/github_actions/docker_run.sh \ | ||
# --env CC=/usr/bin/gcc-9 \ | ||
# --env CXX=/usr/bin/g++-9 \ | ||
# --env CMAKE_BUILD_TYPE=Release \ | ||
# --env "IREE_TARGET_BACKEND_WEBGPU_SPIRV=OFF" \ | ||
# --env "IREE_CCACHE_GCP_TOKEN=$(gcloud auth application-default print-access-token)" \ | ||
# --env "IREE_WRITE_REMOTE_CCACHE=${IREE_WRITE_REMOTE_CCACHE}" \ | ||
# --env "CCACHE_NAMESPACE=gcr.io/iree-oss/base@sha256:dc314b4fe30fc1315742512891357bffed4d1b62ffcb46258b1e0761c737b446" \ | ||
# --env "IREE_BUILD_SETUP_PYTHON_VENV=${BUILD_DIR}/.venv" \ | ||
# gcr.io/iree-oss/base@sha256:dc314b4fe30fc1315742512891357bffed4d1b62ffcb46258b1e0761c737b446 \ | ||
# ./build_tools/cmake/build_all.sh \ | ||
# "${BUILD_DIR}" | ||
|
||
tracing: | ||
needs: setup | ||
|
@@ -802,60 +804,62 @@ jobs: | |
./build_tools/cmake/build_runtime_tracing.sh \ | ||
"${BUILD_DIR}" | ||
debug: | ||
needs: setup | ||
if: contains(fromJson(needs.setup.outputs.enabled-jobs), 'debug') | ||
runs-on: | ||
- self-hosted # must come first | ||
- runner-group=${{ needs.setup.outputs.runner-group }} | ||
- environment=${{ needs.setup.outputs.runner-env }} | ||
- cpu | ||
- os-family=Linux | ||
env: | ||
BUILD_DIR: build-debug | ||
steps: | ||
- name: "Checking out repository" | ||
uses: actions/[email protected] | ||
with: | ||
submodules: true | ||
- name: "Building IREE in Debug configuration" | ||
env: | ||
IREE_WRITE_REMOTE_CCACHE: ${{ needs.setup.outputs.write-caches }} | ||
run: | | ||
./build_tools/github_actions/docker_run.sh \ | ||
--env "IREE_CCACHE_GCP_TOKEN=$(gcloud auth application-default print-access-token)" \ | ||
--env "IREE_WRITE_REMOTE_CCACHE=${IREE_WRITE_REMOTE_CCACHE}" \ | ||
--env "CMAKE_BUILD_TYPE=Debug" \ | ||
--env "CCACHE_NAMESPACE=gcr.io/iree-oss/base@sha256:dc314b4fe30fc1315742512891357bffed4d1b62ffcb46258b1e0761c737b446" \ | ||
--env "IREE_BUILD_SETUP_PYTHON_VENV=${BUILD_DIR}/.venv" \ | ||
gcr.io/iree-oss/base@sha256:dc314b4fe30fc1315742512891357bffed4d1b62ffcb46258b1e0761c737b446 \ | ||
./build_tools/cmake/build_all.sh \ | ||
"${BUILD_DIR}" | ||
# Disabled to reduce self-hosted runners needed. See #17957 | ||
# debug: | ||
# needs: setup | ||
# if: contains(fromJson(needs.setup.outputs.enabled-jobs), 'debug') | ||
# runs-on: | ||
# - self-hosted # must come first | ||
# - runner-group=${{ needs.setup.outputs.runner-group }} | ||
# - environment=${{ needs.setup.outputs.runner-env }} | ||
# - cpu | ||
# - os-family=Linux | ||
# env: | ||
# BUILD_DIR: build-debug | ||
# steps: | ||
# - name: "Checking out repository" | ||
# uses: actions/[email protected] | ||
# with: | ||
# submodules: true | ||
# - name: "Building IREE in Debug configuration" | ||
# env: | ||
# IREE_WRITE_REMOTE_CCACHE: ${{ needs.setup.outputs.write-caches }} | ||
# run: | | ||
# ./build_tools/github_actions/docker_run.sh \ | ||
# --env "IREE_CCACHE_GCP_TOKEN=$(gcloud auth application-default print-access-token)" \ | ||
# --env "IREE_WRITE_REMOTE_CCACHE=${IREE_WRITE_REMOTE_CCACHE}" \ | ||
# --env "CMAKE_BUILD_TYPE=Debug" \ | ||
# --env "CCACHE_NAMESPACE=gcr.io/iree-oss/base@sha256:dc314b4fe30fc1315742512891357bffed4d1b62ffcb46258b1e0761c737b446" \ | ||
# --env "IREE_BUILD_SETUP_PYTHON_VENV=${BUILD_DIR}/.venv" \ | ||
# gcr.io/iree-oss/base@sha256:dc314b4fe30fc1315742512891357bffed4d1b62ffcb46258b1e0761c737b446 \ | ||
# ./build_tools/cmake/build_all.sh \ | ||
# "${BUILD_DIR}" | ||
|
||
byo_llvm: | ||
needs: setup | ||
if: contains(fromJson(needs.setup.outputs.enabled-jobs), 'byo_llvm') | ||
runs-on: | ||
- self-hosted # must come first | ||
- runner-group=${{ needs.setup.outputs.runner-group }} | ||
- environment=${{ needs.setup.outputs.runner-env }} | ||
- cpu | ||
- os-family=Linux | ||
steps: | ||
- name: "Checking out repository" | ||
uses: actions/[email protected] | ||
with: | ||
submodules: true | ||
- name: "Building and testing with bring-your-own-LLVM" | ||
env: | ||
IREE_WRITE_REMOTE_CCACHE: ${{ needs.setup.outputs.write-caches }} | ||
run: | | ||
./build_tools/github_actions/docker_run.sh \ | ||
--env "IREE_CCACHE_GCP_TOKEN=$(gcloud auth application-default print-access-token)" \ | ||
--env "IREE_WRITE_REMOTE_CCACHE=${IREE_WRITE_REMOTE_CCACHE}" \ | ||
--env "CCACHE_NAMESPACE=gcr.io/iree-oss/base@sha256:dc314b4fe30fc1315742512891357bffed4d1b62ffcb46258b1e0761c737b446" \ | ||
gcr.io/iree-oss/base@sha256:dc314b4fe30fc1315742512891357bffed4d1b62ffcb46258b1e0761c737b446 \ | ||
./build_tools/cmake/build_and_test_byo_llvm.sh | ||
# Disabled to reduce self-hosted runners needed. See #17957 | ||
# byo_llvm: | ||
# needs: setup | ||
# if: contains(fromJson(needs.setup.outputs.enabled-jobs), 'byo_llvm') | ||
# runs-on: | ||
# - self-hosted # must come first | ||
# - runner-group=${{ needs.setup.outputs.runner-group }} | ||
# - environment=${{ needs.setup.outputs.runner-env }} | ||
# - cpu | ||
# - os-family=Linux | ||
# steps: | ||
# - name: "Checking out repository" | ||
# uses: actions/[email protected] | ||
# with: | ||
# submodules: true | ||
# - name: "Building and testing with bring-your-own-LLVM" | ||
# env: | ||
# IREE_WRITE_REMOTE_CCACHE: ${{ needs.setup.outputs.write-caches }} | ||
# run: | | ||
# ./build_tools/github_actions/docker_run.sh \ | ||
# --env "IREE_CCACHE_GCP_TOKEN=$(gcloud auth application-default print-access-token)" \ | ||
# --env "IREE_WRITE_REMOTE_CCACHE=${IREE_WRITE_REMOTE_CCACHE}" \ | ||
# --env "CCACHE_NAMESPACE=gcr.io/iree-oss/base@sha256:dc314b4fe30fc1315742512891357bffed4d1b62ffcb46258b1e0761c737b446" \ | ||
# gcr.io/iree-oss/base@sha256:dc314b4fe30fc1315742512891357bffed4d1b62ffcb46258b1e0761c737b446 \ | ||
# ./build_tools/cmake/build_and_test_byo_llvm.sh | ||
|
||
############################## Crosscompilation ############################## | ||
# Jobs that cross-compile IREE for other platforms | ||
|
@@ -998,10 +1002,10 @@ jobs: | |
- python_release_packages | ||
- sanitizers | ||
- small_runtime | ||
- gcc | ||
# - gcc | ||
- tracing | ||
- debug | ||
- byo_llvm | ||
# - debug | ||
# - byo_llvm | ||
|
||
# Crosscompilation | ||
# - cross_compile_and_test | ||
|