Skip to content

Commit

Permalink
Add CI test to make sure amalgamated files are updated
Browse files Browse the repository at this point in the history
  • Loading branch information
SanderMertens committed May 2, 2024
1 parent e752c8e commit 0ee6a11
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,28 @@ jobs:
- name: build flecs
run: ${{ matrix.compiler }} flecs.c --shared -fPIC -pedantic -Wall -Wextra -Wno-unused-parameter -Werror -Wshadow -Wconversion -Wno-missing-field-initializers

test-amalgamated:
needs: build-linux
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
fail-fast: false

steps:
- uses: actions/checkout@v4

- name: install bake
run: |
git clone https://github.com/SanderMertens/bake
make -C bake/build-$(uname)
bake/bake setup
- name: build flecs
run: bake rebuild

- name: git diff check
run: git diff --quiet

build-scan-build:
needs: build-linux
runs-on: ubuntu-latest
Expand Down

0 comments on commit 0ee6a11

Please sign in to comment.