feat: 添加CM3/4/7的硬件与软件浮点单元构建矩阵,变更api接口为dr_*

This commit is contained in:
2026-07-26 23:34:11 +08:00
parent e8ee92110b
commit 7ba20659b2
16 changed files with 773 additions and 440 deletions
+34
View File
@@ -0,0 +1,34 @@
name: CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main]
jobs:
host:
runs-on: ubuntu-builder
steps:
- uses: actions/checkout@v4
- name: Host build + tests
run: |
cmake -S . -B build-host \
-DBUILD_TESTING=ON -DBUILD_EXAMPLES=ON
cmake --build build-host
ctest --test-dir build-host --output-on-failure
cortex-m:
runs-on: ubuntu-builder
steps:
- uses: actions/checkout@v4
- name: Install ARM GCC
run: |
sudo apt-get update
sudo apt-get install -y gcc-arm-none-eabi
- name: Cortex-M compile matrix (DR_COMPILE_CHECK)
run: |
cmake -S . -B build-matrix -DDR_COMPILE_CHECK=ON
cmake --build build-matrix --parallel $(nproc)