From f61cbde294d6d2870b0d8e42a8f5a2fe7909c870 Mon Sep 17 00:00:00 2001 From: Olivia Appleton Date: Fri, 26 Jul 2024 01:33:25 -0500 Subject: [PATCH] Fix compiler check in upload, CodeQL name --- .github/workflows/c.yml | 2 +- .github/workflows/codeql.yml | 2 +- c/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/c.yml b/.github/workflows/c.yml index 9c7aae7b..289a1df3 100644 --- a/.github/workflows/c.yml +++ b/.github/workflows/c.yml @@ -99,7 +99,7 @@ jobs: - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v4.0.1 - if: ${{ matrix.compiler == 'ubuntu-latest' && (matrix.compiler == 'pcc' || matrix.compiler == 'tcc') }} + if: ${{ matrix.compiler == 'ubuntu-latest' && (matrix.compiler == 'gcc' || matrix.compiler == 'clang') }} with: token: ${{ secrets.CODECOV_TOKEN }} flags: C diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 4ccc81db..24fd6f33 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -30,7 +30,7 @@ on: jobs: analyze: - name: Analyze (${{ matrix.language }}) + name: Analyze (${{ matrix.name }}) # Runner size impacts CodeQL analysis time. To learn more, please see: # - https://gh.io/recommended-hardware-resources-for-running-codeql # - https://gh.io/supported-runners-and-hardware-resources diff --git a/c/Makefile b/c/Makefile index 62ec31ba..6c1f43f1 100644 --- a/c/Makefile +++ b/c/Makefile @@ -2,7 +2,7 @@ PY?=python3 USER_FLAG?=--user PIP?=$(PY) -m pip BLUE=\033[0;34m -NC=\033[0m # No Color +NC=\033[0m # No Color ifneq ($(https_proxy), ) PROXY_ARG=--proxy=$(https_proxy)