Skip to content

Commit

Permalink
Fix env variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
airween committed Apr 15, 2024
1 parent 9ca7521 commit 01f1318
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 01f1318

Please sign in to comment.