Skip to content
Closed
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
30 changes: 13 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,35 +24,20 @@ on:

jobs:
build:
timeout-minutes: 5
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
fail-fast: false

runs-on: ${{ matrix.os }}

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Configure CMake
run: cmake -B build -DCMAKE_BUILD_TYPE=Release

- name: Build
run: cmake --build build --config Release

- name: Run tests
working-directory: build
run: ctest -C Release --output-on-failure

lint:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Check file sizes
if: runner.os == 'Linux'
run: |
MAX_LINES=1500
FAILED=0
Expand All @@ -70,8 +55,19 @@ jobs:
echo "All source files are within the $MAX_LINES line limit."

- name: Check formatting with clang-format
if: runner.os == 'Linux'
continue-on-error: true
run: |
sudo apt-get install -y clang-format-17 > /dev/null 2>&1
echo "Checking formatting of source files..."
find src/ include/ -name "*.cpp" -o -name "*.h" | xargs clang-format-17 --dry-run --Werror 2>&1 || echo "::warning::Code formatting issues found. Run clang-format to fix."

- name: Configure CMake
run: cmake -B build -DCMAKE_BUILD_TYPE=Release

- name: Build
run: cmake --build build --config Release

- name: Run tests
working-directory: build
run: ctest -C Release --output-on-failure
7 changes: 7 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Issue to solve: https://github.com/netkeep80/avm/issues/10
Your prepared branch: issue-10-544a3e00bc6f
Your prepared working directory: /tmp/gh-issue-solver-1770062911063
Your forked repository: konard/netkeep80-avm
Original repository (upstream): netkeep80/avm

Proceed.
Loading