summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-12-11 11:45:50 +0700
committerhathach <[email protected]>2023-12-11 11:45:50 +0700
commitfd55b96ca1856d692e4055eaeae467b8b848520c (patch)
treee3d57966cdcacfc403dd9b65036ee9483f159484 /.github
parent338ff2daba63fc60835934efc374c818f7c5980c (diff)
test changing upload artifacts for hil test
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build_esp.yml13
-rw-r--r--.github/workflows/cmake_arm.yml18
2 files changed, 22 insertions, 9 deletions
diff --git a/.github/workflows/build_esp.yml b/.github/workflows/build_esp.yml
index 4568695c2..e2bf5e0cb 100644
--- a/.github/workflows/build_esp.yml
+++ b/.github/workflows/build_esp.yml
@@ -48,3 +48,16 @@ jobs:
- name: Build
run: docker run --rm -v $PWD:/project -w /project espressif/idf:latest python3 tools/build_esp32.py ${{ matrix.board }}
+
+ - name: test dir
+ run: tree
+
+ - name: Upload Artifacts for Hardware Testing
+ if: matrix.board == 'espressif_s3_devkitc' && github.repository_owner == 'hathach'
+ uses: actions/upload-artifact@v3
+ with:
+ name: ${{ matrix.board }}
+ path: |
+ cmake-build/cmake-build-${{ matrix.board }}/device/*/*.elf
+ cmake-build/cmake-build-${{ matrix.board }}/device/*/config.env
+ cmake-build/cmake-build-${{ matrix.board }}/device/*/flash_args
diff --git a/.github/workflows/cmake_arm.yml b/.github/workflows/cmake_arm.yml
index f4b93cec7..818dbeda9 100644
--- a/.github/workflows/cmake_arm.yml
+++ b/.github/workflows/cmake_arm.yml
@@ -87,21 +87,21 @@ jobs:
PICO_SDK_PATH: ${{ github.workspace }}/pico-sdk
# Upload binaries for hardware test with self-hosted
- - name: Prepare rp2040 Artifacts
- if: contains(matrix.family, 'rp2040') && github.repository_owner == 'hathach'
- working-directory: ${{github.workspace}}/cmake-build/cmake-build-raspberry_pi_pico
- run: |
- find device/ -name "*.elf" -exec mv {} ../../ \;
- # find host/ -name "*.elf" -exec mv {} ../../ \;
- # find dual/ -name "*.elf" -exec mv {} ../../ \;
+# - name: Prepare rp2040 Artifacts
+# if: contains(matrix.family, 'rp2040') && github.repository_owner == 'hathach'
+# working-directory: ${{github.workspace}}/cmake-build/cmake-build-raspberry_pi_pico
+# run: |
+# find device/ -name "*.elf" -exec mv {} ../../ \;
+# # find host/ -name "*.elf" -exec mv {} ../../ \;
+# # find dual/ -name "*.elf" -exec mv {} ../../ \;
- - name: Upload Artifacts for rp2040
+ - name: Upload Artifacts for Hardware Testing
if: contains(matrix.family,'rp2040') && github.repository_owner == 'hathach'
uses: actions/upload-artifact@v3
with:
name: rp2040
path: |
- *.elf
+ cmake-build/cmake-build-raspberry_pi_pico/device/*/*.elf
# ---------------------------------------
# Hardware in the loop (HIL)