feat: 添加CM3/4/7的硬件与软件浮点单元构建矩阵,变更api接口为dr_*
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user