[spi, flash, rng, eth, block] Change data buffer parameters from uint8_t* to void* #93
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| core-tests: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| extra_cflags: ["", "-DWHAL_CFG_NO_TIMEOUT"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build and run core tests | |
| working-directory: tests/core | |
| run: CFLAGS="${{ matrix.extra_cflags }}" make run | |
| boards: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| board: [stm32wb55xx_nucleo, pic32cz_curiosity_ultra, stm32h563zi_nucleo, stm32f411_blackpill, stm32c031_nucleo] | |
| extra_cflags: ["", "-DWHAL_CFG_NO_TIMEOUT"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install ARM toolchain | |
| run: sudo apt-get update && sudo apt-get install -y gcc-arm-none-eabi | |
| - name: Build blinky | |
| working-directory: examples/blinky | |
| run: CFLAGS="${{ matrix.extra_cflags }}" make BOARD=${{ matrix.board }} | |
| - name: Build tests | |
| working-directory: tests | |
| run: CFLAGS="${{ matrix.extra_cflags }}" make BOARD=${{ matrix.board }} | |
| peripheral-drivers: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| source: | |
| - src/block/sdhc_spi.c | |
| - src/flash/spi_nor.c | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install ARM toolchain | |
| run: sudo apt-get update && sudo apt-get install -y gcc-arm-none-eabi | |
| - name: Compile ${{ matrix.source }} | |
| run: arm-none-eabi-gcc -c -I. -Wall -Werror ${{ matrix.source }} -o /dev/null |