From 4c3b90f6baa7a1592d268a0183c5a063882ccdd9 Mon Sep 17 00:00:00 2001 From: Thomas Sader Date: Sun, 6 Oct 2024 10:04:37 -0500 Subject: [PATCH] Problem matcher for compiler warnings (#1694) --- .github/workflows/dependencies.yml | 5 +++++ .github/workflows/make.yml | 3 +++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml index 2b2756e46..0b4786a08 100644 --- a/.github/workflows/dependencies.yml +++ b/.github/workflows/dependencies.yml @@ -31,6 +31,7 @@ jobs: cd tcl${{ matrix.tcl_version }}/unix && \ ./configure --prefix=$HOME/tcl && \ make -j4 && make install + - uses: ammaraskar/gcc-problem-matcher@master - name: Build run: | ./configure --with-tcl=$HOME/tcl/lib | tee configure.log @@ -58,6 +59,7 @@ jobs: sha256sum --status --check <(echo f1d9f3ed1b85a82ecf80d0e2d389e1fda3fca9a4dba0bf07adbf231e1a5e2fd6 openssl-0.9.8zh.tar.gz) && \ tar xzf openssl-0.9.8zh.tar.gz && \ cd openssl-0.9.8zh && ./config --prefix=$HOME/ssl -fPIC && make -j4 && make install_sw + - uses: ammaraskar/gcc-problem-matcher@master - name: Build run: | cd $GITHUB_WORKSPACE/eggdrop @@ -86,6 +88,7 @@ jobs: sha256sum --status --check <(echo ecd0c6ffb493dd06707d38b14bb4d8c2288bb7033735606569d8f90f89669d16 openssl-1.0.2u.tar.gz) && \ tar xzf openssl-1.0.2u.tar.gz && \ cd openssl-1.0.2u && ./config --prefix=$HOME/ssl -fPIC && make -j4 && make install_sw + - uses: ammaraskar/gcc-problem-matcher@master - name: Build run: | cd $GITHUB_WORKSPACE/eggdrop @@ -117,6 +120,7 @@ jobs: - uses: actions/checkout@v4 with: path: 'eggdrop' + - uses: ammaraskar/gcc-problem-matcher@master - name: Build run: | cd $GITHUB_WORKSPACE/eggdrop @@ -159,6 +163,7 @@ jobs: path: 'eggdrop' - name: install dependencies run: sudo apt-get update && sudo apt-get install tcl tcl-dev + - uses: ammaraskar/gcc-problem-matcher@master - name: Build run: | cd $GITHUB_WORKSPACE/eggdrop diff --git a/.github/workflows/make.yml b/.github/workflows/make.yml index 7dc22acd9..ddd97ae61 100644 --- a/.github/workflows/make.yml +++ b/.github/workflows/make.yml @@ -17,6 +17,8 @@ jobs: - uses: actions/checkout@v4 - name: install dependencies run: sudo apt-get update && sudo apt-get install clang tcl tcl-dev openssl libssl-dev + - uses: ammaraskar/gcc-problem-matcher@master + if: ${{ matrix.cc == 'gcc' }} - name: Build env: CC: ${{ matrix.cc }} @@ -35,5 +37,6 @@ jobs: - uses: actions/checkout@v4 - name: install dependencies run: sudo apt-get update && sudo apt-get install tcl tcl-dev openssl libssl-dev + - uses: ammaraskar/gcc-problem-matcher@master - name: Build run: ./configure ${{ matrix.conf_tls }} ${{ matrix.conf_ipv6 }} ${{ matrix.conf_tdns }} && make config && make -j4