Skip to content

[CI] Update labels in configs #5758

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .github/workflows/sycl_linux_build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ on:
type: string
required: false
default: "ghcr.io/intel/llvm/ubuntu2004_build:latest"
build_runs_on:
type: string
required: false
default: "build"
build_ref:
type: string
required: false
Expand Down Expand Up @@ -68,7 +64,7 @@ on:
jobs:
build:
name: Build + LIT
runs-on: ${{ inputs.build_runs_on }}
runs-on: [Linux, build]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can refactor this script to make it OS agnostic to re-use build and test workflow both on Linux and Windows.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe

container:
image: ${{ inputs.build_image }}
options: -u 1001:1001
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/sycl_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ jobs:
if: github.repository == 'intel/llvm'
uses: ./.github/workflows/sycl_linux_build_and_test.yml
with:
build_runs_on: build
build_cache_root: "/__w/"
build_cache_suffix: new_pm
build_artifact_suffix: new_pm
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/sycl_post_commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,12 @@ jobs:
name: Linux Default
uses: ./.github/workflows/sycl_linux_build_and_test.yml
with:
build_runs_on: build
build_cache_root: "/__w/llvm"
build_artifact_suffix: default
linux_no_assert:
name: Linux (no assert)
uses: ./.github/workflows/sycl_linux_build_and_test.yml
with:
build_runs_on: build
build_cache_root: "/__w/llvm"
build_cache_suffix: gcc_no_assertions
build_artifact_suffix: gcc_no_assertions
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/sycl_precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
if: always() && (success() || contains(github.event.pull_request.labels.*.name, 'ignore-lint'))
uses: ./.github/workflows/sycl_linux_build_and_test.yml
with:
build_runs_on: "build"
build_cache_root: "/__w/"
build_cache_size: "8G"
build_artifact_suffix: "default"
Expand Down
4 changes: 4 additions & 0 deletions devops/test_configs.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"config": "l0_gen9",
"name": "L0 GEN9 LLVM Test Suite",
"runs-on": [
"Linux",
"gen9"
],
"image": "${{ inputs.intel_drivers_image }}",
Expand All @@ -15,6 +16,7 @@
"config": "ocl_gen9",
"name": "OCL GEN9 LLVM Test Suite",
"runs-on": [
"Linux",
"gen9"
],
"image": "${{ inputs.intel_drivers_image }}",
Expand All @@ -26,6 +28,7 @@
"config": "ocl_x64",
"name": "OCL x64 LLVM Test Suite",
"runs-on": [
"Linux",
"x64"
],
"image": "${{ inputs.intel_drivers_image }}",
Expand All @@ -37,6 +40,7 @@
"config": "hip_amdgpu",
"name": "HIP AMDGPU LLVM Test Suite",
"runs-on": [
"Linux",
"amdgpu"
],
"image": "${{ inputs.amdgpu_image }}",
Expand Down