Release E2E binaries #975
This file contains hidden or 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
name: Release E2E binaries | ||
on: | ||
workflow_dispatch: | ||
permissions: read-all | ||
jobs: | ||
release_e2e_binaries: | ||
name: Build E2E Binaries with release | ||
runs-on: [Linux, build] | ||
container: | ||
image: ghcr.io/intel/llvm/ubuntu2404_intel_drivers:alldeps | ||
options: -u 1001:1001 | ||
permissions: | ||
packages: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
sparse-checkout: | | ||
devops/actions | ||
- name: Download release | ||
shell: bash | ||
run: | | ||
wget https://github.com/intel/llvm/releases/download/v6.1.0/linux-sycl-6.1.0.tar.gz | ||
mkdir -p toolchain | ||
tar xf linux-sycl-6.1.0.tar.gz -C toolchain | ||
if [ -e /runtimes/oneapi-tbb/env/vars.sh ]; then | ||
source /runtimes/oneapi-tbb/env/vars.sh; | ||
elif [ -e /opt/runtimes/oneapi-tbb/env/vars.sh ]; then | ||
source /opt/runtimes/oneapi-tbb/env/vars.sh; | ||
else | ||
echo "no TBB vars in /opt/runtimes or /runtimes"; | ||
fi | ||
- name: Build e2e | ||
uses: ./devops/actions/run-tests/e2e | ||
with: | ||
ref: v6.1.0 | ||
testing_mode: build-only | ||
target_devices: all | ||
sycl_compiler: $GITHUB_WORKSPACE/toolchain/bin/clang++ | ||
extra_lit_opts: --param sycl_build_targets="spir;nvidia;amd" | ||
env: | ||
LIT_FILTER: bit_cast.cpp | ||
- name: Build container | ||
uses: ./devops/actions/build_container | ||
with: | ||
push: true | ||
file: release_e2e_binaries | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
build-args: | | ||
Check failure on line 56 in .github/workflows/sycl-containers.yaml
|
||
"github_workspace=${{ GITHUB_WORKSPACE }}" | ||
tags: | | ||
ghcr.io/${{ github.repository }}/sycl_e2e_binaries_6.1.0:latest |