Compare commits

...

2 Commits

Author SHA1 Message Date
f0e237cd71 Switch to PIO image
Some checks failed
Test compiling project / test (push) Failing after 0s
2025-05-24 16:02:15 +00:00
7b0f3d20b0 Switch to devcontainer
Some checks are pending
Test compiling project / test (push) Waiting to run
2025-05-24 15:59:22 +00:00
3 changed files with 27 additions and 5 deletions

View File

@@ -0,0 +1,17 @@
{
"name": "Waterlevel Software Development",
"dockerComposeFile": "docker-compose.yaml",
"service": "app",
"workspaceFolder": "/workspace",
"customizations": {
"vscode": {
"extensions": [
"platformio.platformio-ide",
"mutantdino.resourcemonitor",
"ms-azuretools.vscode-docker",
"meezilla.json"
]
}
}
}

View File

@@ -0,0 +1,9 @@
version: '3.8'
services:
app:
image: gitea.maiertobi.de/tobimai/devcontainer-pio:latest
user: tobi:tobi
volumes:
- ..:/workspace:cached
- /home/tobi/.ssh:/home/tobi/.ssh:ro
command: sleep infinity

View File

@@ -6,13 +6,9 @@ jobs:
test:
runs-on: ubuntu-latest
container:
image: debian:latest
image: gitea.maiertobi.de/tobimai/devcontainer-pio:latest
steps:
- name: Install necessary dependencies
run: apt update && apt install nodejs python3 python3-pip git curl -y
- name: Install Platformio
run: pip install --break-system-packages --upgrade platformio
- name: Checkout Code
uses: actions/checkout@v2
- name: Run PlatformIO Tests