Skip to content

Commit

Permalink
Update unit_test_auto.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
silabs-bingocth authored Sep 30, 2024
1 parent f375dad commit c6c2517
Showing 1 changed file with 9 additions and 20 deletions.
29 changes: 9 additions & 20 deletions .github/workflows/unit_test_auto.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,19 @@ jobs:
steps:
- name: Checkout
uses: actions/[email protected]
- name: Prepare Test Environment
run: |
sudo apt purge --auto-remove cmake
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | sudo tee /usr/share/keyrings/kitware-archive-keyring.gpg >/dev/null
echo 'deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ focal-rc main' | sudo tee -a /etc/apt/sources.list.d/kitware.list >/dev/null
sudo apt update
sudo apt install cmake
cmake --version
- name: Check working directory
run: |
pwd
mkdir test_tool
ls -la
- name: Download a file
uses: valitydev/[email protected]
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/[email protected]
with:
# URL to file
url: https://github.com/Kitware/CMake/releases/download/v3.30.4/cmake-3.30.4-linux-x86_64.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 y y
- name: Unit Testing
run: |
make prepare
Expand Down

0 comments on commit c6c2517

Please sign in to comment.