Compile STM32 USB Companion in CI to catch framework drift
This commit is contained in:
1 parent
a86c3075f6
commit
d2c52e4d04
2 files changed
+12
-6
No files matched your search
@@ -10,6 +10,18 @@ on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
stm32-companion-smoke:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Clone Repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Build Environment
|
||||
uses: ./.github/actions/setup-build-environment
|
||||
|
||||
- name: Compile ordinary STM32 USB Companion with pinned core and RadioLib
|
||||
run: pio run -e RAK_3x72_companion_radio_usb
|
||||
|
||||
bootloader-version:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Compile the real text helpers with STM32's utoa-only Arduino API."""
|
||||
from pathlib import Path
|
||||
import configparser
|
||||
import subprocess
|
||||
import tempfile
|
||||
import unittest
|
||||
@@ -10,11 +9,6 @@ ROOT = Path(__file__).resolve().parents[1]
|
||||
|
||||
|
||||
class Stm32FloatConversionTest(unittest.TestCase):
|
||||
def test_stm32_platform_keeps_the_supported_radiolib_gpio_api(self):
|
||||
config = configparser.ConfigParser(interpolation=None, strict=False)
|
||||
config.read(ROOT / "platformio.ini")
|
||||
self.assertEqual(config["stm32_base"]["platform"], "ststm32@19.5.0")
|
||||
|
||||
def test_signed_values_and_limits_without_ltoa(self):
|
||||
with tempfile.TemporaryDirectory() as directory:
|
||||
root = Path(directory)
|
||||
|
||||
Reference in new issue
Block a user