From 0370c1bc02bd584336e6b8a699dc34920bfbe028 Mon Sep 17 00:00:00 2001 From: silabs-bingocth Date: Tue, 1 Oct 2024 04:02:41 +0700 Subject: [PATCH] Update unit_test_auto.yaml --- .github/workflows/unit_test_auto.yaml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/unit_test_auto.yaml b/.github/workflows/unit_test_auto.yaml index 2d63770d..9c1e573b 100644 --- a/.github/workflows/unit_test_auto.yaml +++ b/.github/workflows/unit_test_auto.yaml @@ -21,21 +21,15 @@ jobs: uses: valitydev/action-download-file@v1.0.6 with: # URL to file - url: https://github.com/Kitware/CMake/releases/download/v3.30.4/cmake-3.30.4-linux-x86_64.sh - # Target path - target-path: test_tool/ - - name: Download a file - uses: valitydev/action-download-file@v1.0.6 - with: - # URL to file - url: https://github.com/Kitware/CMake/releases/download/v3.30.4/cmake-3.30.4-linux-x86_64.tar.gz + url: https://github.com/Kitware/CMake/releases/download/v3.30.4/cmake-3.30.4.tar.gz # Target path target-path: test_tool/ - name: Prepare Test Environment run: | cd test_tool - chmod +x cmake-3.30.4-linux-x86_64.sh - ./cmake-3.30.4-linux-x86_64.sh + tar -xvf cmake-3.30.4.tar.gz + cd cmake-3.30.4 + ./bootstrap && make && sudo make install - name: Unit Testing run: | make prepare