Skip to content

Commit d334c55

Browse files
Add syntax checks to github workflow
1 parent e300ded commit d334c55

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.github/workflows/linux.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ jobs:
6464
run: |
6565
./scripts/build_mpos.sh unix dev
6666
67+
- name: Run tests on unix dev
68+
run: |
69+
./scripts/tests/check_syntax.sh
70+
continue-on-error: true
71+
6772
- name: Upload built binary as artifact
6873
uses: actions/upload-artifact@v4
6974
with:

.github/workflows/macos.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,15 @@ jobs:
2929
xcodebuild -version
3030
clang --version
3131
32-
- name: Build LVGL MicroPython for unix dev
32+
- name: Build LVGL MicroPython for macOS dev
3333
run: |
3434
./scripts/build_mpos.sh macOS dev
3535
36+
- name: Run tests on macOS dev
37+
run: |
38+
./scripts/tests/check_syntax.sh
39+
continue-on-error: true
40+
3641
- name: Upload built binary as artifact
3742
uses: actions/upload-artifact@v4
3843
with:
@@ -41,7 +46,6 @@ jobs:
4146
compression-level: 0 # don't zip it
4247
retention-days: 7
4348

44-
4549
- name: Build LVGL MicroPython esp32 prod fri3d-2024
4650
run: |
4751
./scripts/build_mpos.sh esp32 prod fri3d-2024

0 commit comments

Comments
 (0)