diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-12-21 12:31:47 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-12-21 12:37:16 -0800 |
| commit | c6babe615b8d96acf25721dc8cdf1c5bf37130b5 (patch) | |
| tree | 6131650e1c5c411615fcc4e4ea67dfcc4a3faf55 /.github/workflows | |
| parent | 1514a532617b1fa7d4568a79a9d8ae24ceba1be9 (diff) | |
| download | nng-c6babe615b8d96acf25721dc8cdf1c5bf37130b5.tar.gz nng-c6babe615b8d96acf25721dc8cdf1c5bf37130b5.tar.bz2 nng-c6babe615b8d96acf25721dc8cdf1c5bf37130b5.zip | |
workflows: add pollq and make build debug for backtraces
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/darwin.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/linux.yml | 7 | ||||
| -rw-r--r-- | .github/workflows/windows.yml | 2 |
3 files changed, 8 insertions, 3 deletions
diff --git a/.github/workflows/darwin.yml b/.github/workflows/darwin.yml index cc683c0a..48eae5b1 100644 --- a/.github/workflows/darwin.yml +++ b/.github/workflows/darwin.yml @@ -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 diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index a0cba105..a9f7db50 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -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: @@ -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 diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 9f9791f2..af1cb74a 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -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 |
