Skip to content

Commit

Permalink
ci 18
Browse files Browse the repository at this point in the history
  • Loading branch information
hathach committed May 13, 2024
1 parent 53199ca commit 04637df
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,13 @@ jobs:
needs: set-matrix
if: github.repository_owner == 'hathach'
runs-on: [self-hosted, Linux, X64, hifiphile]
strategy:
fail-fast: false
matrix:
toolchain:
- 'arm-iar'
env:
BUILD_ARGS: ${{ fromJSON(needs.set-matrix.outputs.json).arm-iar.family }}
BUILD_ARGS: ${{ fromJSON(needs.set-matrix.outputs.json)[matrix.toolchain].family }}
steps:
- name: Clean workspace
run: |
Expand All @@ -154,16 +159,6 @@ jobs:
- name: Checkout TinyUSB
uses: actions/checkout@v4

- run: |
echo "1"
BUILD_ARGS=$(echo ${{ fromJSON(needs.set-matrix.outputs.json).arm-iar.family }} | jq -R -s .)
echo $BUILD_ARGS
# echo "2"
# echo ${{ fromJSON(needs.set-matrix.outputs.json)['arm-iar'] }}
# echo "3"
# echo ${{ fromJSON(needs.set-matrix.outputs.json)['arm-iar'].family }}


# - name: Get Dependencies
# run: python3 tools/get_deps.py $BUILD_ARGS
#
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hil_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
- build-esp
runs-on: [self-hosted, rp2040, nrf52840, esp32s3, hardware-in-the-loop]
env:
BOARDS_LIST: "${{ needs.build.outputs.BOARDS_LIST }} ${{ needs.build-esp.outputs.BOARDS_LIST }}"
BOARDS_LIST: "${{ needs.build.outputs.BOARDS_LIST }} ${{ needs.build-esp.outputs.BOARDS_LIST }}"
steps:
- name: Clean workspace
run: |
Expand Down

0 comments on commit 04637df

Please sign in to comment.