summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorOwen Ou <169064+owenthereal@users.noreply.github.com>2023-08-01 07:32:52 -0700
committerGitHub <noreply@github.com>2023-08-01 07:32:52 -0700
commit161ab0402b0ea1f694a47946df4ca9083183f32e (patch)
treeca4c74940607ca719e7967ea94d3224960ed5b78 /.github
parent29698118c51d2f04ccdacb3518b0c86551970a7a (diff)
Fix typo in CI env vars for Linux build (#2810)
For some reason, the env vars are set correctly without refering the variable in `matrix` case-sensitvely: ``` 2023-08-01T05:05:58.4626090Z env: 2023-08-01T05:05:58.4626367Z AR: arm-linux-gnueabihf-ar 2023-08-01T05:05:58.4626690Z CHOST: arm-linux-gnueabihf 2023-08-01T05:05:58.4626961Z CC: arm-linux-gnueabihf-gcc 2023-08-01T05:05:58.4627332Z CPP: arm-linux-gnueabihf-cpp 2023-08-01T05:05:58.4627662Z CXX: arm-linux-gnueabihf-g++ ``` For clarify, we update them to match the definitions. Besides, `CXX` is not needed and removed.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml7
1 files changed, 3 insertions, 4 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4375d87d..e1461a60 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -68,10 +68,9 @@ jobs:
runs-on: ubuntu-22.04
env:
AR: ${{ matrix.CC }}-ar
- CHOST: ${{ matrix.cc }}
- CC: ${{ matrix.cc }}-gcc
- CPP: ${{ matrix.cc }}-cpp
- CXX: ${{ matrix.cc }}-g++
+ CHOST: ${{ matrix.CC }}
+ CC: ${{ matrix.CC }}-gcc
+ CPP: ${{ matrix.CC }}-cpp
LDFLAGS: -s
SUFFIX: linux-${{ matrix.arch }}
steps: