Skip to content

.github/workflows/sycl-linux-build.yml #26

.github/workflows/sycl-linux-build.yml

.github/workflows/sycl-linux-build.yml #26

name: Reusable SYCL Linux build workflow
defaults:
run:
shell: bash
on:
workflow_call:
inputs:
cc:
type: string
required: false
default: "gcc"
cxx:
type: string
required: false
default: "g++"
build_image:
type: string
required: false
default: "ghcr.io/intel/llvm/ubuntu2404_intel_drivers:alldeps"
build_ref:
type: string
required: false
build_cache_root:
type: string
required: true
build_cache_suffix:
type: string
required: false
default: "default"
build_configure_extra_args:
type: string
required: false
default: "--hip --cuda --native_cpu"
build_target:
type: string
required: false
default: sycl-toolchain
changes:
type: string
description: 'Filter matches for the changed files in the PR'
default: '[llvm, clang, sycl, llvm_spirv, xptifw, libclc]'
required: false
# Artifacts:
retention-days:
description: 'Artifacts retention period'
type: string
default: 3
toolchain_artifact:
type: string
required: true
toolchain_artifact_filename:
type: string
default: llvm_sycl.tar.zst
release_toolchain_artifact:
type: string
required: false
description: |
If provided, create an additional toolchain artifact without utilities
used for testing in it. File name of the archive is the same as in the
`toolchain_artifact` above.
e2e_binaries_artifact:
type: string
required: false
e2e_binaries_spirv_backend_artifact:
type: string
required: false
e2e_binaries_preview_artifact:
type: string
required: false
outputs:
build_conclusion:
value: ${{ jobs.build.outputs.build_conclusion }}
toolchain_artifact:
value: ${{ inputs.toolchain_artifact }}
toolchain_artifact_filename:
value: ${{ jobs.build.outputs.toolchain_artifact_filename }}
toolchain_decompress_command:
value: ${{ jobs.build.outputs.toolchain_decompress_command }}
workflow_dispatch:
permissions: read-all
jobs:
check_abi_symbols:
name: Check ABI symbols tests match release branch
runs-on: [Linux, build]
if: github.repository == 'intel/llvm'
container: ghcr.io/intel/llvm/ubuntu2404_build
steps:
- uses: actions/checkout@v4
with:
sparse-checkout: |
sycl/test/abi
- run: |
set -x
git status
git remote -v
git branch -a
git fetch origin sycl-rel-6_3
git branch -a
git diff origin/sycl-rel-6_3:sycl/test/abi/sycl_symbols_linux.dump sycl/test/abi/sycl_symbols_linux-sycl-rel-6_3.dump
git diff -I "# RUN" origin/sycl-rel-6_3:sycl/test/abi/sycl_symbols_windows.dump sycl/test/abi/sycl_symbols_windows-sycl-rel-6_3.dump