From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2010) id 72C4B3858422; Mon, 16 Oct 2023 05:29:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 72C4B3858422 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1697434165; bh=Pnm6rZ+pWIZklY0NlReC7OF1naz4A6Cgkbjr8jQx3tY=; h=From:To:Subject:Date:From; b=UWOovoQkM4z++Fal3oPZagdEtpBQd8ugPpK8LrFa12PGxsbD6m/vt6om9m37XjMbW FOwHXHig3EYOWSbWdjpfwRtxsn3YbptcqdvPnfgGaaUaQjKmIyzeZZ8qmjWweLjlqX zFlFDH2QoC2OcxUzowEFffzWB6BBwt7zJnGzrkxU= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Eric Gallager To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/egallager/heads/CI)] Update linux.yaml X-Act-Checkin: gcc X-Git-Author: Eric Gallager X-Git-Refname: refs/users/egallager/heads/CI X-Git-Oldrev: 264c728257134155cee20c02d501f2af06a742bb X-Git-Newrev: b7c6ea0a3a146972f61c659a41116bdc04cc6a07 Message-Id: <20231016052925.72C4B3858422@sourceware.org> Date: Mon, 16 Oct 2023 05:29:25 +0000 (GMT) List-Id: https://gcc.gnu.org/g:b7c6ea0a3a146972f61c659a41116bdc04cc6a07 commit b7c6ea0a3a146972f61c659a41116bdc04cc6a07 Author: Eric Gallager Date: Mon Oct 16 01:29:11 2023 -0400 Update linux.yaml `Mail` might be missing... Diff: --- .github/workflows/linux.yaml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linux.yaml b/.github/workflows/linux.yaml index d91eeed0ad6..5e74a1419df 100644 --- a/.github/workflows/linux.yaml +++ b/.github/workflows/linux.yaml @@ -37,7 +37,7 @@ jobs: - name: Install dependencies run: | sudo apt-get -qq update - sudo apt install -y gcc-multilib build-essential flex zlib1g-dev gnat gdc expect dejagnu libc-dev libc-devtools texlive findutils binutils autogen gettext autopoint libasprintf-dev libgettextpo-dev mailutils + sudo apt install -y gcc-multilib build-essential flex zlib1g-dev gnat gdc expect dejagnu libc-dev libc-devtools texlive findutils binutils autogen gettext autopoint libasprintf-dev libgettextpo-dev mailutils mailutils-mh procmail postfix emacs - name: Install dependencies for aarch64 if: success() && contains(matrix.target, 'aarch64') @@ -152,4 +152,16 @@ jobs: if test -e build.log; then make warning.log; fi time (make -k -j"$(nproc)" check RUNTESTFLAGS="compile.exp dg-torture.exp execute.exp old-deja.exp" | tee testsuite_output.log) if test -e warning.log; then make mail-report-with-warnings.log; else make mail-report.log; fi - if test -x mail-report-with-warnings.log; then ./mail-report-with-warnings.log; elif test -x mail-report.log; then ./mail-report.log; fi + if test -x "$(which Mail)"; then \ + if test -x mail-report-with-warnings.log; then \ + ./mail-report-with-warnings.log; \ + elif test -x mail-report.log; then \ + ./mail-report.log; \ + elif test -e testsuite_output.log; then \ + echo "TODO: figure out a way to send testsuite_output.log"; \ + else \ + echo "Nothing to send."; \ + fi; \ + else \ + echo "Warning: \"Mail\" program is missing, so skipping emailing of testresults!"; \ + fi