rust-raspberrypi-OS-tutorials/.github/workflows/build_rpi4.yml

41 lines
799 B
YAML
Raw Normal View History

2019-10-29 21:32:49 +00:00
name: BSP-RPi4
on:
push:
branches:
- master
paths-ignore:
2020-09-25 19:24:56 +00:00
- "utils/**"
- "doc/**"
- "docker/**"
2019-10-29 21:32:49 +00:00
pull_request:
branches:
- master
paths-ignore:
2020-09-25 19:24:56 +00:00
- "utils/**"
- "doc/**"
- "docker/**"
2019-10-29 21:32:49 +00:00
schedule:
2020-09-25 19:24:56 +00:00
- cron: "0 5 * * *"
2019-10-29 21:32:49 +00:00
jobs:
build:
name: Build kernels
2020-09-25 19:47:31 +00:00
runs-on: ubuntu-20.04
2019-10-29 21:32:49 +00:00
steps:
2020-09-25 19:47:31 +00:00
- uses: actions/checkout@v2
2020-09-25 19:24:56 +00:00
- name: Set up Ruby 2.x
2022-02-15 22:26:06 +00:00
uses: ruby/setup-ruby@v1
2020-09-25 19:24:56 +00:00
- name: Set up Rust nightly
run: |
2022-04-25 21:37:21 +00:00
cargo install cargo-binutils rustfilt
2020-09-25 19:24:56 +00:00
- name: Set up Ruby
run: |
gem install bundler
bundle config set without 'uart'
bundle install --retry 3
- name: Make
run: |
BSP=rpi4 bundle exec ruby utils/devtool.rb make