Skip to content

Commit 6baf857

Browse files
Update devcontainer-smoketest.yaml
Fix syntax error and re-enable most src
1 parent 18ba6b3 commit 6baf857

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

.github/workflows/devcontainer-smoketest.yaml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Smoketest Dockerfile builds for selected targets
33
on:
44
pull_request:
55
paths:
6-
- '.devcontainer/sources/*
6+
- '.devcontainer/sources/*'
77

88
jobs:
99
build-target:
@@ -15,47 +15,47 @@ jobs:
1515
{ target: SL_STK3701A, build-type: Debug, rtos: AzureRTOS},
1616
{ target: ST_STM32F769I_DISCOVERY, build-type: Debug, rtos: ChibiOS },
1717
{ target: M5Core2, build-type: Debug, rtos: ESP32 },
18-
# { target: NXP_MIMXRT1060_EVK, build-type: Debug, rtos: FreeRTOS },
19-
# { target: TI_CC1352R1_LAUNCHXL, build-type: Debug, rtos: TI radio-freq: 915 }
18+
{ target: NXP_MIMXRT1060_EVK, build-type: Debug, rtos: All },
19+
# { target: TI_CC1352R1_LAUNCHXL, build-type: Debug, rtos: TI radio-freq: 915 }
2020
]
2121

2222
runs-on: ubuntu-latest
2323

2424
steps:
2525
- uses: actions/checkout@v4
2626

27-
# - name: Adjust config templates for a devcontainer
28-
# run: |
29-
# # Move into the config directory
30-
# pushd config
27+
- name: Adjust config templates for a devcontainer
28+
run: |
29+
# Move into the config directory
30+
pushd config
3131
32-
# # Rename the templates
33-
# mv user-prefs.TEMPLATE.json user-prefs.json
34-
# mv user-tools-repos.TEMPLATE.json user-tools-repos.json
32+
# Rename the templates
33+
mv user-prefs.TEMPLATE.json user-prefs.json
34+
mv user-tools-repos.TEMPLATE.json user-tools-repos.json
3535
36-
# # Adjust the file content for a devcontainer
37-
# sed -i -- 's|"name": "user-tools-repos-container"|"name": "user-tools-repos"|g' user-tools-repos.json
36+
# Adjust the file content for a devcontainer
37+
sed -i -- 's|"name": "user-tools-repos-container"|"name": "user-tools-repos"|g' user-tools-repos.json
3838
39-
# # Move out of the config directory
40-
# popd
39+
# Move out of the config directory
40+
popd
4141
42-
# - name: Adjust devcontainer.json for ${{ matrix.rtos }} source
43-
# run: |
44-
# # Move into the .devcontainer directory
45-
# pushd .devcontainer
42+
- name: Adjust devcontainer.json for ${{ matrix.rtos }} source
43+
run: |
44+
# Move into the .devcontainer directory
45+
pushd .devcontainer
4646
47-
# # Target the dockerfile source.
48-
# # sed -i -- 's|"dockerFile": "Dockerfile.All"|"dockerFile": "sources/Dockerfile.'${{ matrix.rtos }}'"|g' devcontainer.json
47+
# Target the dockerfile source.
48+
sed -i -- 's|"dockerFile": "Dockerfile.All"|"dockerFile": "sources/Dockerfile.'${{ matrix.rtos }}'"|g' devcontainer.json
4949
50-
# # Move out of the .devcontainer directory
51-
# popd
50+
# Move out of the .devcontainer directory
51+
popd
5252
53-
# - name: Build ${{ matrix.target }} ${{ matrix.build-type }} Firmware
54-
# uses: devcontainers/[email protected]
55-
# with:
56-
# push: never
57-
# runCmd: |
58-
# # Build target:
59-
# cmake --preset=${{ matrix.target }} -DCMAKE_BUILD_TYPE=${{ matrix.build-type }}
60-
# cmake --build build
53+
- name: Build ${{ matrix.target }} ${{ matrix.build-type }} Firmware
54+
uses: devcontainers/[email protected]
55+
with:
56+
push: never
57+
runCmd: |
58+
# Build target:
59+
cmake --preset=${{ matrix.target }} -DCMAKE_BUILD_TYPE=${{ matrix.build-type }}
60+
cmake --build build
6161

0 commit comments

Comments
 (0)