Add a tiny fuzz test framework #106
Workflow file for this run
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: Ecosystem | |
| on: | |
| pull_request: | |
| types: [ opened, synchronize, reopened ] | |
| paths: | |
| - '**.h' | |
| - '**.c' | |
| - '**.cpp' | |
| - 'CMakeLists.txt' | |
| - '**.cmake' | |
| - '.github/workflows/testing-ecosystem.yml' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| env: | |
| LLVM_VERSION: 22 | |
| jobs: | |
| check_ubuntu: | |
| if: "!contains(github.event.pull_request.labels.*.name, 'skip_buildbots')" | |
| name: CMake configure (Ubuntu 24.04) | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| # Get new enough LLVM from apt.llvm.org | |
| wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | sudo tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc | |
| echo "deb http://apt.llvm.org/$(lsb_release -cs)/ llvm-toolchain-$(lsb_release -cs)-${LLVM_VERSION} main" | \ | |
| sudo tee "/etc/apt/sources.list.d/llvm-${LLVM_VERSION}.list" | |
| # Get everything else from upstream Ubuntu | |
| sudo apt-get update && sudo apt-get install -y \ | |
| "clang-${LLVM_VERSION}" \ | |
| curl \ | |
| flatbuffers-compiler \ | |
| "libclang-${LLVM_VERSION}-dev" \ | |
| libedit-dev \ | |
| libflatbuffers-dev \ | |
| libpng-dev \ | |
| libjpeg-turbo8-dev \ | |
| "liblld-${LLVM_VERSION}-dev" \ | |
| "lld-${LLVM_VERSION}" \ | |
| "llvm-${LLVM_VERSION}-dev" \ | |
| pybind11-dev | |
| - name: Check CMake configures | |
| run: cmake --preset ubuntu-release -DHalide_LLVM_ROOT="/usr/lib/llvm-${LLVM_VERSION}" |