Skip to content

Commit

Permalink
[test] update the autotest bsp to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
armink committed Sep 17, 2024
1 parent fd08d7f commit 996e1d4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
name: AutoTestCI
on: push
on: [push, pull_request]
jobs:
test:
name: AutoTest
runs-on: ubuntu-latest
env:
TEST_BSP_ROOT: ../AutoTestBsp
UTEST_RUNNER_PATH: ../UtestRunner
RTT_EXEC_PATH: /opt/gcc-arm-none-eabi-6-2017-q2-update/bin
RTT_EXEC_PATH: /opt/gcc-arm-none-eabi-10-2020-q4-major/bin
steps:
- uses: actions/checkout@v1
- name: Prepare env
run: |
sudo apt-get update
sudo apt-get -yqq install scons qemu-system git
wget -q https://github.com/RT-Thread/toolchains-ci/releases/download/arm-2017q2-v6/gcc-arm-none-eabi-6-2017-q2-update-linux.tar.bz2
sudo tar xjf gcc-arm-none-eabi-6-2017-q2-update-linux.tar.bz2 -C /opt
wget -q https://github.com/RT-Thread/toolchains-ci/releases/download/v1.3/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2
sudo tar xjf gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2 -C /opt
git clone https://github.com/armink/UtestRunner.git $UTEST_RUNNER_PATH
git clone https://github.com/armink/FlashDBAutoTestBSP.git $TEST_BSP_ROOT
- name: Build bsp
Expand All @@ -25,7 +25,7 @@ jobs:
cp -rf inc/fdb_def.h $TEST_BSP_ROOT/packages/FlashDB/inc/fdb_def.h
cp -rf inc/fdb_low_lvl.h $TEST_BSP_ROOT/packages/FlashDB/inc/fdb_low_lvl.h
cp -rf inc/flashdb.h $TEST_BSP_ROOT/packages/FlashDB/inc/flashdb.h
/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/arm-none-eabi-gcc --version
/opt/gcc-arm-none-eabi-10-2020-q4-major/bin/arm-none-eabi-gcc --version
scons -j$(nproc) -C $TEST_BSP_ROOT
- name: Start test
run: |
Expand Down

0 comments on commit 996e1d4

Please sign in to comment.