diff --git a/.github/workflows/container-build.yaml b/.github/workflows/container-build.yaml index c4b3250..927109e 100644 --- a/.github/workflows/container-build.yaml +++ b/.github/workflows/container-build.yaml @@ -20,6 +20,14 @@ jobs: permissions: contents: read packages: write + strategy: + matrix: + target_board: + - CC1352P_2_LAUNCHXL + - CC26X2R1_LAUNCHXL + - LP_CC2652R7 + - LP_CC2652RB + - LP_CC2652RB steps: - name: Free Disk Space (Ubuntu) @@ -76,3 +84,15 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} load: true + + - name: Prepare workspace + uses: addnab/docker-run-action@v3 + with: + image: ${{ steps.meta.outputs.tags }} + run: | + echo "Hello World" + ls -laF /build || true + find / + eclipse -noSplash -data "${HOME}/workspace" -application com.ti.ccstudio.apps.projectImport -ccs.location "${SLF2_SDK}/examples/rtos/${{ matrix.target_board }}/zstack/znp/tirtos7/ticlang/znp_${{ matrix.target_board }}_tirtos7_ticlang.projectspec" + cp '/src/znp_${{ matrix.target_board }}_tirtos7_ticlang.syscfg' "${HOME}/workspace/znp_${{ matrix.target_board }}/znp.syscfg" + eclipse -noSplash -data "${HOME}/workspace" -application 'com.ti.ccstudio.apps.projectBuild' -ccs.projects 'znp_${{ matrix.target_board }}_tirtos7_ticlang'