Skip to content

Commit

Permalink
workflows: add pollq and make build debug for backtraces
Browse files Browse the repository at this point in the history
  • Loading branch information
gdamore committed Dec 21, 2024
1 parent 1514a53 commit c6babe6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/darwin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
run: brew install ninja

- name: Configure
run: mkdir build && cd build && cmake -G Ninja -DNNG_ENABLE_TLS=ON ..
run: mkdir build && cd build && cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DNNG_ENABLE_TLS=ON ..

- name: build
run: cd build && ninja
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ jobs:
- engine: wolf
pkg: libwolfssl-dev
dir: build.wolf
pollq:
- poller: auto
- poller: epoll
- poller: select
- poller: poll
name: build
runs-on: [ubuntu-latest]
steps:
Expand All @@ -24,7 +29,7 @@ jobs:
run: sudo apt-get install ${{ matrix.tls.pkg }}

- name: Configure
run: mkdir ${{ matrix.tls.dir }} && cd ${{ matrix.tls.dir }} && cmake -G Ninja -D NNG_ENABLE_TLS=ON -DNNG_TLS_ENGINE=${{ matrix.tls.engine }} ..
run: mkdir ${{ matrix.tls.dir }} && cd ${{ matrix.tls.dir }} && cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -D NNG_ENABLE_TLS=ON -DNNG_POLLQ_POLLER=${{ matrix.pollq.poller }} -DNNG_TLS_ENGINE=${{ matrix.tls.engine }} ..

- name: Build
run: cd ${{ matrix.tls.dir }} && ninja
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Configure
# TLS on Windows is not good because vcpkg is *old* mbedTLS 2.28, and we don't pass some newer tests.
# We should explore testing WolfSSL here instead.
run: cmake ${{ steps.vcpkg.outputs.vcpkg-cmake-config }} -B build
run: cmake ${{ steps.vcpkg.outputs.vcpkg-cmake-config }} -B build -DCMAKE_BUILD_TYPE=Debug

- name: Build
run: cmake --build build
Expand Down

0 comments on commit c6babe6

Please sign in to comment.