Optimize blank line input case #383
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: CI | |
on: | |
push: | |
branches: [ main ] | |
paths-ignore: | |
- '**/README.md' | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
name: Test | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 30 | |
strategy: | |
matrix: | |
build: [linux] | |
include: | |
- build: linux | |
#os: ubuntu-latest # FIXME: ubuntu-22.04 => "native_internal.h:152:13: error: variably modified ‘__isr_stack’ at file scope" | |
os: ubuntu-20.04 | |
rust: stable | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install rustup | |
run: | | |
curl -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal | |
rustup toolchain install ${{ matrix.rust }} | |
rustup default ${{ matrix.rust }} | |
- name: Run test | |
run: | | |
sudo apt update | |
sudo apt install gcc-multilib | |
sudo apt install python3-serial | |
sudo apt install bridge-utils | |
make ci |