Skip to content

Commit

Permalink
Update devcontainer-smoketest.yaml
Browse files Browse the repository at this point in the history
Comment out most src
  • Loading branch information
networkfusion authored Nov 10, 2023
1 parent 1df7c4a commit 18ba6b3
Showing 1 changed file with 34 additions and 34 deletions.
68 changes: 34 additions & 34 deletions .github/workflows/devcontainer-smoketest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,38 +24,38 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Adjust config templates for a devcontainer
run: |
# Move into the config directory
pushd config
# Rename the templates
mv user-prefs.TEMPLATE.json user-prefs.json
mv user-tools-repos.TEMPLATE.json user-tools-repos.json
# Adjust the file content for a devcontainer
sed -i -- 's|"name": "user-tools-repos-container"|"name": "user-tools-repos"|g' user-tools-repos.json

# Move out of the config directory
popd

- name: Adjust devcontainer.json for ${{ matrix.rtos }} source
run: |
# Move into the .devcontainer directory
pushd .devcontainer
# Target the dockerfile source.
# sed -i -- 's|"dockerFile": "Dockerfile.All"|"dockerFile": "sources/Dockerfile.'${{ matrix.rtos }}'"|g' devcontainer.json
# Move out of the .devcontainer directory
popd
- name: Build ${{ matrix.target }} ${{ matrix.build-type }} Firmware
uses: devcontainers/[email protected]
with:
push: never
runCmd: |
# Build target:
cmake --preset=${{ matrix.target }} -DCMAKE_BUILD_TYPE=${{ matrix.build-type }}
cmake --build build
# - name: Adjust config templates for a devcontainer
# run: |
# # Move into the config directory
# pushd config
# # Rename the templates
# mv user-prefs.TEMPLATE.json user-prefs.json
# mv user-tools-repos.TEMPLATE.json user-tools-repos.json
# # Adjust the file content for a devcontainer
# sed -i -- 's|"name": "user-tools-repos-container"|"name": "user-tools-repos"|g' user-tools-repos.json

# # Move out of the config directory
# popd

# - name: Adjust devcontainer.json for ${{ matrix.rtos }} source
# run: |
# # Move into the .devcontainer directory
# pushd .devcontainer

# # Target the dockerfile source.
# # sed -i -- 's|"dockerFile": "Dockerfile.All"|"dockerFile": "sources/Dockerfile.'${{ matrix.rtos }}'"|g' devcontainer.json

# # Move out of the .devcontainer directory
# popd

# - name: Build ${{ matrix.target }} ${{ matrix.build-type }} Firmware
# uses: devcontainers/[email protected]
# with:
# push: never
# runCmd: |
# # Build target:
# cmake --preset=${{ matrix.target }} -DCMAKE_BUILD_TYPE=${{ matrix.build-type }}
# cmake --build build

0 comments on commit 18ba6b3

Please sign in to comment.