Fixed build pipelines
All checks were successful
Test project compilation / test (push) Successful in 4m32s
All checks were successful
Test project compilation / test (push) Successful in 4m32s
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
name: Test compiling project
|
||||
name: Compilie project and upload binaries
|
||||
|
||||
on: [push]
|
||||
on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
|
||||
24
.gitea/workflows/test_build.yaml
Normal file
24
.gitea/workflows/test_build.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
name: Test project compilation
|
||||
|
||||
on:
|
||||
push:
|
||||
branches-ignore: ["main"]
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: gitea.tobiasmaier.me/tobimai/devcontainer-pio:2.1
|
||||
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v2
|
||||
- name: Run PlatformIO build for SPIFFS (same in both platforms, so only one build is necessary)
|
||||
run: which pio && id && pio run --target buildfs -e ESP32_INA233
|
||||
- name: Run PlatformIO Tests
|
||||
run: pio test -e native
|
||||
- name: Run PlatformIO build for INA233
|
||||
run: pio run -e ESP32_INA233
|
||||
- name: Run PlatformIO build for INA226
|
||||
run: pio run -e ESP32_INA226
|
||||
Reference in New Issue
Block a user