✨ Fine-grained logging control for flows #254
Workflow file for this run
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
name: Usage Test | |
permissions: read-all | |
on: | |
workflow_dispatch: | |
merge_group: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
USER_LLVM_VERSION: 14 | |
USER_CMAKE_VERSION: 3.25 | |
jobs: | |
usage_test: | |
runs-on: ${{ github.repository_owner == 'intel' && 'intel-' || '' }}ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Install compiler | |
run: sudo apt update && sudo apt-get install -y clang-${{env.USER_LLVM_VERSION}} | |
- name: Install cmake | |
run: | | |
pip3 install --upgrade pip | |
pip3 install --force cmake==${{env.USER_CMAKE_VERSION}} | |
- name: Configure CMake | |
working-directory: ${{github.workspace}}/usage_test | |
env: | |
CC: "/usr/lib/llvm-${{env.USER_LLVM_VERSION}}/bin/clang" | |
CXX: "/usr/lib/llvm-${{env.USER_LLVM_VERSION}}/bin/clang++" | |
run: ~/.local/bin/cmake -B build | |
- name: Build | |
working-directory: ${{github.workspace}}/usage_test | |
run: ~/.local/bin/cmake --build build |