-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Miscellaneous updates and fixes (#4)
- Remove submodules for CMocka and powershell scripts. - Remove hard dependency on CRLF line endings. - Update clang-format, clang-tidy, clangd, Docker file and other similar files. - Update Poetry lock file and Dockerfile image.
- Loading branch information
Showing
36 changed files
with
515 additions
and
329 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,10 +9,9 @@ | |
// Set the workspace folder to the mapped volume to the project root folder set in 'docker-compose' file. | ||
"workspaceFolder": "/workspace", | ||
// Set the name of the container in Visual Studio Code user interface, this is not the same as the container name. | ||
"name": "bde_c_cpp", | ||
"name": "bde", | ||
// Apply customizations to tools in the container. | ||
"customizations": { | ||
// Visual Studio Code. | ||
"vscode": { | ||
// Extensions to use. | ||
"extensions": [ | ||
|
@@ -28,6 +27,7 @@ | |
|
||
// Other. | ||
"[email protected]", | ||
"[email protected]", | ||
"[email protected]", // Mainly used for validation and intellisense. | ||
"[email protected]", | ||
"[email protected]", | ||
|
@@ -39,7 +39,7 @@ | |
|
||
// Set the settings. | ||
"settings": { | ||
// Define 'pwsh' profile for Linux enviroments, this ensures the use of Powershell in terminals. | ||
// Define 'pwsh' profile for Linux enviroments, this ensures the use of PowerShell in terminals. | ||
// Start it with the Python virtual environment already activated. | ||
"terminal.integrated.profiles.linux": { | ||
"pwsh": { | ||
|
@@ -49,19 +49,7 @@ | |
} | ||
}, | ||
// Set the default profile to 'pwsh' in Linux enviroments. | ||
"terminal.integrated.defaultProfile.linux": "pwsh", | ||
|
||
// Define 'pwsh' profile for Windows enviroments, this ensures the use of Powershell in terminals. | ||
// Start it with the Python virtual environment already activated. | ||
"terminal.integrated.profiles.windows": { | ||
"pwsh": { | ||
"path": "pwsh", | ||
"icon": "terminal-powershell", | ||
"args": ["-NoExit", "-Command", "& /usr/venvs/development/bin/Activate.ps1"] | ||
} | ||
}, | ||
// Set the default profile to 'pwsh' in Windows enviroments. | ||
"terminal.integrated.defaultProfile.windows": "pwsh" | ||
"terminal.integrated.defaultProfile.linux": "pwsh" | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
# Set line endings on files. | ||
*.c text eol=crlf | ||
*.h text eol=crlf | ||
*.hpp text eol=crlf | ||
*.cpp text eol=crlf | ||
*.rst text eol=crlf | ||
# Set the default behaviour. | ||
* text=auto | ||
|
||
# Files to explicitly be normalized and converted to native line endings on checkout. | ||
*.c text | ||
*.h text | ||
*.hpp text | ||
*.cpp text | ||
*.rst text | ||
|
||
# Symbolic links, this must be last. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,22 @@ | ||
# Production workflow | ||
# Staging workflow | ||
# | ||
# This workflow triggers whenever a pull request is open, reopened or there are new commits on it. | ||
# The deployment is performed on 'https://www.{head_commit_sha}-xxx.netlify.app' and reflects last commit on the pull request. | ||
|
||
on: pull_request | ||
|
||
permissions: | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
|
||
name: (Staging) - Full | ||
run-name: "#${{ github.run_number }}: ${{ github.event.pull_request.title }}" | ||
jobs: | ||
off-target: | ||
full-staging: | ||
uses: dmg0345/bde/.github/workflows/reusable-full.yml@master | ||
secrets: | ||
netlify_pat: ${{ secrets.NETLIFY_PAT }} | ||
netlify_site_id: ${{ secrets.NETLIFY_SITE_ID }} | ||
with: | ||
docker_base_image: dmg00345/bde:latest | ||
deploy: staging | ||
deploy_alias: ${{ github.event.pull_request.head.sha }} | ||
deploy_alias: staging-${{ github.run_number }} |
Oops, something went wrong.