From 6abc65356b0e60249356883d138acd6a6aa39e5b Mon Sep 17 00:00:00 2001 From: muxator Date: Mon, 12 Jun 2023 23:10:11 +0200 Subject: [PATCH] xx --- .github/workflows/static-analyzer.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/static-analyzer.yml b/.github/workflows/static-analyzer.yml index 69c000faca..632fa6d002 100644 --- a/.github/workflows/static-analyzer.yml +++ b/.github/workflows/static-analyzer.yml @@ -34,19 +34,23 @@ jobs: with: #ref: 'master' fetch-depth: 1 - - name: build with static analyzer enabled - # cannot use github.workspace, see + - name: configure with static analyzer enabled + # cannot use ${{github.workspace}} variable inside a container, see # https://github.com/actions/runner/issues/2058 # and # https://github.com/actions/runner/pull/2517 run: | + pwd cd ${GITHUB_WORKSPACE} ./autogen.sh ./configure \ - SECP_CFLAGS="-fanalyzer -fanalyzer-transitivity" \ + SECP_CFLAGS="-fanalyzer -fanalyzer-transitivity -Werror" \ --disable-tests \ --disable-exhaustive-tests \ --disable-benchmark \ --enable-experimental \ --enable-module-frost + - name: build + run: | + cd ${GITHUB_WORKSPACE} make