Fix SIGSEGV in gtest death tests due to small stack #85
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GitHub actions workflow. | |
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions | |
name: Build+Test CI | |
on: [pull_request, push] | |
jobs: | |
glibc: | |
strategy: | |
matrix: | |
cc: [gcc, clang] | |
fail-fast: false | |
runs-on: ubuntu-latest | |
env: | |
CC: ${{ matrix.cc }} | |
steps: | |
- name: Install dependencies | |
run: | | |
sudo apt-get update -qq | |
sudo apt-get install build-essential gcc clang automake autoconf autoconf-archive libtool pax-utils -qy | |
- uses: actions/checkout@v3 | |
name: Checkout | |
- name: Build | |
run: | | |
./autogen.sh | |
./configure || { cat config.log; false; } | |
make V=1 | |
make V=1 check || { cat tests/testsuite.log; false; } | |
make V=1 distcheck | |
musl: | |
runs-on: ubuntu-latest | |
container: | |
image: alpine:latest | |
options: --cap-add=SYS_PTRACE | |
steps: | |
- name: Install dependencies | |
run: apk add bash coreutils build-base automake autoconf autoconf-archive libtool pax-utils gawk sed | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Build | |
run: | | |
./autogen.sh | |
./configure || { cat config.log; false; } | |
make V=1 | |
make V=1 check || { cat tests/testsuite.log; false; } |