@@ -3,7 +3,7 @@ name: Smoketest Dockerfile builds for selected targets
3
3
on :
4
4
pull_request :
5
5
paths :
6
- - ' .devcontainer/sources/*
6
+ - ' .devcontainer/sources/*'
7
7
8
8
jobs :
9
9
build-target :
@@ -15,47 +15,47 @@ jobs:
15
15
{ target: SL_STK3701A, build-type: Debug, rtos: AzureRTOS},
16
16
{ target: ST_STM32F769I_DISCOVERY, build-type: Debug, rtos: ChibiOS },
17
17
{ 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 }
20
20
]
21
21
22
22
runs-on : ubuntu-latest
23
23
24
24
steps :
25
25
- uses : actions/checkout@v4
26
26
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
31
31
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
35
35
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
38
38
39
- # # Move out of the config directory
40
- # popd
39
+ # Move out of the config directory
40
+ popd
41
41
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
46
46
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
49
49
50
- # # Move out of the .devcontainer directory
51
- # popd
50
+ # Move out of the .devcontainer directory
51
+ popd
52
52
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
61
61
0 commit comments