summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2023-06-23 11:35:43 -0400
committerMike Gilbert <floppym@gentoo.org>2023-06-23 13:25:44 -0400
commit84e3934c938a6c94c40b0d0857a333a7be247800 (patch)
treea59c1ef605dd4939da327bae25a87c9170bed4a9
parentCI: add musl config (diff)
downloadsandbox-84e3934c938a6c94c40b0d0857a333a7be247800.tar.gz
sandbox-84e3934c938a6c94c40b0d0857a333a7be247800.tar.bz2
sandbox-84e3934c938a6c94c40b0d0857a333a7be247800.zip
CI: clean up glibc job
Signed-off-by: Mike Gilbert <floppym@gentoo.org> (cherry picked from commit e2f8b0382aef54fd0827c61f05589b82ddfa8331)
-rw-r--r--.github/workflows/build-test-ci.yml32
1 files changed, 3 insertions, 29 deletions
diff --git a/.github/workflows/build-test-ci.yml b/.github/workflows/build-test-ci.yml
index 4a3ef88..5c95baa 100644
--- a/.github/workflows/build-test-ci.yml
+++ b/.github/workflows/build-test-ci.yml
@@ -3,58 +3,32 @@
name: Build+Test CI
-#on:
-# push:
-# branches: [master, gh-actions]
-# tags: [v*]
-# pull_request:
-# types: [created, opened, edited, push]
-
on: [pull_request, push]
jobs:
glibc:
strategy:
matrix:
- os: [ubuntu-latest]
cc: [gcc, clang]
- sanitize: [none] # [none, asan, ubsan]
fail-fast: false
- runs-on: ${{ matrix.os }}
+ runs-on: ubuntu-latest
env:
CC: ${{ matrix.cc }}
- SANITIZER: ${{ matrix.sanitize }}
- UBSAN_OPTIONS: "print_stacktrace=1:halt_on_error=1"
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
- case "$SANITIZER" in
- none)
- ;;
- asan)
- echo CFLAGS="-O2 -ggdb3 -fsanitize=address" >> $GITHUB_ENV
- echo CXXFLAGS="-O2 -ggdb3 -fsanitize=address" >> $GITHUB_ENV
- echo LDFLAGS="-fsanitize=address" >> $GITHUB_ENV
- ;;
- ubsan)
- echo CFLAGS="-O2 -ggdb3 -fsanitize=undefined" >> $GITHUB_ENV
- echo CXXFLAGS="-O2 -ggdb3 -fsanitize=undefined" >> $GITHUB_ENV
- echo LDFLAGS="-fsanitize=undefined" >> $GITHUB_ENV
- ;;
- esac
-
- uses: actions/checkout@v3
name: Checkout
- name: Build
run: |
./autogen.sh
- ./configure || cat config.log
+ ./configure || { cat config.log; false; }
make V=1
- make V=1 check
+ make V=1 check || { cat tests/testsuite.log; false; }
make V=1 distcheck
musl: