Skip to content

Commit

Permalink
ci: build with optimitizations enabled.
Browse files Browse the repository at this point in the history
This allows the compiler to produce more control flow warnings.
  • Loading branch information
ericonr committed Sep 10, 2024
1 parent 582aa32 commit 6444c17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-every.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Configure git safe directory
run: git config --global --add safe.directory /__w/uhal/uhal
- name: Configure
run: meson setup --werror build || cat build/meson-logs/meson-log.txt /nonexistent
run: meson setup --buildtype release --werror build || cat build/meson-logs/meson-log.txt /nonexistent
- name: Build and test every commit
run: git rebase --exec "ninja -C build test" origin/master
- name: Commit blame
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
with:
submodules: true
- name: Configure
run: meson setup --werror -Dpcie_opt=${{ matrix.options.pcie_opt }} build || cat build/meson-logs/meson-log.txt /nonexistent
run: meson setup --buildtype release --werror -Dpcie_opt=${{ matrix.options.pcie_opt }} build || cat build/meson-logs/meson-log.txt /nonexistent
- name: Build
run: ninja -C build
- name: Run tests
Expand Down

0 comments on commit 6444c17

Please sign in to comment.