From 83bc1370801538802d8e620b642e0a3ca005a687 Mon Sep 17 00:00:00 2001 From: Owen Ou Date: Tue, 1 Aug 2023 07:01:34 -0700 Subject: [PATCH] Fix typo in CI env vars for Linux build 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. --- .github/workflows/ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4375d87dca..e1461a60e9 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: