ci: bump actions/upload-artifact from 4.5.0 to 4.6.0 in the ga-dependencies group #358
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
# Copyright 2024, Intel Corporation | |
# SPDX-License-Identifier: BSD-3-Clause | |
name: ISPCRT | |
permissions: read-all | |
on: | |
pull_request: | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
LLVM_REPO: https://github.com/ispc/ispc.dependencies | |
LLVM_VERSION: "18.1" | |
LLVM_TAR: llvm-18.1.8-ubuntu22.04-Release+Asserts-x86.arm.wasm.tar.xz | |
jobs: | |
# Build ISPC Runtime separately from ISPC with support of different task systems | |
build-linux-ispcrt: | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
task_system: ['OpenMP', 'TBB', 'Threads', 'notasking'] | |
steps: | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- name: Install dependencies | |
run: | | |
.github/workflows/scripts/install-build-deps.sh | |
- name: Build L0 loader | |
run: | | |
cmake superbuild \ | |
-B build-l0 \ | |
--preset os \ | |
-DPREBUILT_STAGE2_PATH="${GITHUB_WORKSPACE}/bin-${LLVM_VERSION}" \ | |
-DBUILD_L0_LOADER_ONLY=ON \ | |
-DCMAKE_INSTALL_PREFIX=install | |
cmake --build build-l0 -j "$(nproc)" | |
- name: Build ISPCRT | |
run: | | |
TASKING_FLAG="-DISPCRT_BUILD_TASK_MODEL=${{ matrix.task_system }}" | |
if [ "${{ matrix.task_system }}" == "notasking" ]; then | |
TASKING_FLAG="-DISPCRT_BUILD_TASKING=OFF" | |
fi | |
cmake ispcrt \ | |
-B build-ispcrt \ | |
-DXE_ENABLED=ON \ | |
-DLEVEL_ZERO_ROOT=install \ | |
-DLEVEL_ZERO_INCLUDE_DIR=install/include/ \ | |
${TASKING_FLAG} \ | |
-DCMAKE_INSTALL_PREFIX=install | |
cmake --build build-ispcrt -j "$(nproc)" | |
cmake --install build-ispcrt | |
cmake --install build-ispcrt --component ispcrt-tests | |
- name: Upload artifacts | |
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0 | |
with: | |
name: linux-ispcrt-${{ matrix.task_system }} | |
path: | | |
install |