From 5948ff33dc7481bf4e5a68c2f95de4c931f0c3bb Mon Sep 17 00:00:00 2001 From: zaikunzhang Date: Tue, 20 Feb 2024 13:01:25 +0800 Subject: [PATCH] 240220.130125.HKT revise cmake_pi.yml --- .github/workflows/cmake_pi.yml | 4 ++++ README.md | 1 + 2 files changed, 5 insertions(+) diff --git a/.github/workflows/cmake_pi.yml b/.github/workflows/cmake_pi.yml index ecb6e776b1..29d9aa9c36 100644 --- a/.github/workflows/cmake_pi.yml +++ b/.github/workflows/cmake_pi.yml @@ -57,7 +57,11 @@ jobs: run: | export CC=gcc CFLAGS="-Wall -Wextra -Wpedantic -Werror" + export FC="${{ matrix.toolchain.fc }}" + if [[ $FC == "armflang" ]] ; then + export FC=$(find /opt/arm/ -name 'armflang' | sort | tail -n 1) + fi FFLAGS="${{ matrix.toolchain.fflags }}" cmake --version diff --git a/README.md b/README.md index 3129c3a8d1..31756109f8 100644 --- a/README.md +++ b/README.md @@ -206,6 +206,7 @@ to distribute this large amount of tests to multiple Team accounts as follows. - [![Test Flang on Kunpeng](https://github.com/equipez/prima/actions/workflows/test_flang_kunpeng.yml/badge.svg)](https://github.com/equipez/prima/actions/workflows/test_flang_kunpeng.yml) - [![Test nvfortran on Kunpeng](https://github.com/equipez/prima/actions/workflows/test_nvfortran_kunpeng.yml/badge.svg)](https://github.com/equipez/prima/actions/workflows/test_nvfortran_kunpeng.yml) - [![Test armflang on Kunpeng](https://github.com/equipez/prima/actions/workflows/test_armflang_kunpeng.yml/badge.svg)](https://github.com/equipez/prima/actions/workflows/test_armflang_kunpeng.yml) + - [![CMake build on Raspberry Pi](https://github.com/equipez/prima/actions/workflows/cmake_pi.yml/badge.svg)](https://github.com/equipez/prima/actions/workflows/cmake_pi.yml) - [![Test gfortran on Raspberry Pi](https://github.com/equipez/prima/actions/workflows/test_gfortran_pi64.yml/badge.svg)](https://github.com/equipez/prima/actions/workflows/test_gfortran_pi64.yml) - [![Test Flang on Raspberry Pi](https://github.com/equipez/prima/actions/workflows/test_flang_pi.yml/badge.svg)](https://github.com/equipez/prima/actions/workflows/test_flang_pi.yml) - [![Test armflang on Raspberry Pi](https://github.com/equipez/prima/actions/workflows/test_armflang_pi.yml/badge.svg)](https://github.com/equipez/prima/actions/workflows/test_armflang_pi.yml)