From 01f1318755e4d2d997bac1edb7897cd224367344 Mon Sep 17 00:00:00 2001 From: Ervin Hegedus Date: Mon, 15 Apr 2024 13:59:10 +0000 Subject: [PATCH] Fix env variable names --- .github/workflows/test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fef9038..da09ca6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,9 +13,9 @@ jobs: platform: [x32, x64] compiler: [gcc, clang] env: - CFLAGS: "-m${{ matrix.platform }}" - CXXFLAGS: "-m${{ matrix.platform }}" - LDFLAGS: "-m${{ matrix.platform }}" + CFLAGS: "${{ matrix.platform == 'x32' && '-m32' || '-m64' }}" + CXXFLAGS: "${{ matrix.platform == 'x32' && '-m32' || '-m64' }}" + LDFLAGS: "${{ matrix.platform == 'x32' && '-m32' || '-m64' }}" CC: "/usr/bin/${{ matrix.compiler }}" CXX: "${{ matrix.compiler == 'gcc' && '/usr/bin/g++' || '/usr/bin/clang++' }}" steps: