Skip to content

Add SPDX comment tags to imported pyslang tests #2289

Add SPDX comment tags to imported pyslang tests

Add SPDX comment tags to imported pyslang tests #2289

Workflow file for this run

name: CI Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- preset: clang-sanitize
os: ubuntu-latest
- preset: gcc-release
os: ubuntu-24.04-arm
- preset: gcc-11-release
os: ubuntu-latest
- preset: gcc-debug-shared
os: ubuntu-latest
- preset: gcc-debug-noexcept
os: ubuntu-latest
- preset: macos-release
os: macos-latest
- preset: win64-release
os: windows-latest
- preset: win64-debug-shared
os: windows-latest
- preset: win64-debug-noexcept
os: windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
if: matrix.os == 'ubuntu-latest'
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo add-apt-repository "deb http://apt.llvm.org/noble/ llvm-toolchain-noble-19 main"
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install -y g++-14 g++-11 clang-19 clang-tidy-19
- uses: ilammy/msvc-dev-cmd@v1
if: matrix.os == 'windows-latest'
- uses: maxim-lobanov/setup-xcode@v1
if: matrix.os == 'macos-latest'
with:
xcode-version: 'latest'
- name: Configure
run: cmake --preset ${{ matrix.preset }} -DSLANG_CI_BUILD=ON
- name: Build
run: cmake --build build/${{ matrix.preset }} -j8
- name: Run tests
run: ctest --test-dir build/${{ matrix.preset }} --output-on-failure --no-tests=error -j8