From 9c686b7ddcee572c9d006019e33d41ccbe767c42 Mon Sep 17 00:00:00 2001 From: Cuda-Chen Date: Sat, 25 Nov 2023 07:53:33 +0800 Subject: [PATCH] Try --- .github/workflows/github_actions.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/github_actions.yml b/.github/workflows/github_actions.yml index a70f8238..7b792a14 100644 --- a/.github/workflows/github_actions.yml +++ b/.github/workflows/github_actions.yml @@ -55,7 +55,12 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - arch_with_features: [{arch: armv7, feature: none}, {arch: aarch64, feature: none}, {arch: aarch64, feature: crypto+crc}, {arch: armv7, feature: none, arch_flags: '-mcpu=cortex-a32 -mfpu=neon-fp-armv8'}] + arch_with_features: [ + {arch: armv7, feature: none}, + {arch: aarch64, feature: none}, + {arch: aarch64, feature: crypto+crc}, + {arch: armv7, feature: none, arch_cflags: '-mcpu=cortex-a32 -mfpu=neon-fp-armv8'} + ] cxx_compiler: [g++-10, clang++-11] steps: - name: checkout code @@ -69,13 +74,13 @@ jobs: distro: ubuntu20.04 env: | CXX: ${{ matrix.cxx_compiler }} - ARCH_CFLAGS: + ARCH_CFLAGS: ${{ matrix.arch_with_features.arch_cflags && 'ARCH_CFLAGS=${{ matrix.arch_with_features.arch_cflags }}' }} install: | apt-get update -q -y apt-get install -q -y "${{ matrix.cxx_compiler }}" make apt-get install -q -y gcc run: | - make FEATURE=${{ matrix.arch_with_features.feature }} ${{ (matrix.arch_with_features.arch_flags != '') && 'ARCH_CFLAGS=${{ matrix.arch_with_features.arch_flags }}' || '' }} check + make FEATURE=${{ matrix.arch_with_features.feature }} check host_win_msvc: runs-on: windows-2022