Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 0 additions & 27 deletions .cirrus.yml

This file was deleted.

55 changes: 55 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,25 @@ jobs:
./build/test/find-me/find-me
cmake --install build

macos26:
name: macOS
runs-on: macos-26-intel
env:
CFLAGS: -Werror -g -fno-omit-frame-pointer -fsanitize=address,undefined -fno-sanitize-recover=address,undefined
UBSAN_OPTIONS: print_stacktrace=1
steps:
- run: python3 --version
- run: brew update
- run: brew install coreutils cscope
- run: env PIP_BREAK_SYSTEM_PACKAGES=1 python3 -m pip install pytest
- run: echo "cloning ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}"
- run: git clone --no-checkout --recurse-submodules -- ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY} wd
- run: >
cd wd &&
git fetch -- origin ${{ github.event.pull_request.head.sha }} &&
git checkout FETCH_HEAD &&
env PATH=$(brew --prefix llvm@20)/bin:${PATH} ./misc/ci.sh

ubuntu2604:
name: Linux
runs-on: ubuntu-26.04
Expand Down Expand Up @@ -74,3 +93,39 @@ jobs:
git fetch -- origin ${{ github.event.pull_request.head.sha }} &&
git checkout FETCH_HEAD &&
./misc/ci.sh

c_analysis:
name: C analysis
runs-on: ubuntu-26.04
steps:
- run: uname -rms
- run: python3 --version
- run: clang --version
- run: echo "cloning ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}"
- run: git clone --no-checkout -- ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY} wd
- run: >
cd wd &&
git fetch -- origin ${{ github.event.pull_request.head.sha }} &&
git checkout FETCH_HEAD
- run: >
cd wd && git ls-files -z -- ':!:test/cases' '**/*.c' '**/*.h' |
xargs -0 -- clang-format-22 --dry-run --style=file --Werror --

python_analysis:
name: Python analysis
runs-on: ubuntu-26.04
steps:
- run: uname -rms
- run: python3 --version
- run: python3 -m pip install --user black
- run: echo "cloning ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}"
- run: git clone --no-checkout -- ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY} wd
- run: >
cd wd &&
git fetch -- origin ${{ github.event.pull_request.head.sha }} &&
git checkout FETCH_HEAD
- run: >
cd wd &&
git ls-files -z -- ':!:test/cases' '**/*.py' |
xargs -0 -- python3 -m black -- &&
git diff --exit-code
Loading