fix: ‘for’ loop initial declarations are only allowed in C99 or C11 mode #25
This file contains 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: test build linux driver | |
on: | |
push: | |
paths: | |
- driver/linux/** | |
- .github/workflows/linux-driver-test-build.yml | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: build | |
working-directory: ./driver/linux | |
run : make build |