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

41 lines
799 B
YAML
Raw Normal View History

2019-10-29 21:32:49 +00:00
name: BSP-RPi3
2019-10-28 21:36:19 +00:00
on:
push:
2019-10-28 21:39:37 +00:00
branches:
2019-10-28 21:36:19 +00:00
- master
2019-10-28 22:36:03 +00:00
paths-ignore:
2020-09-25 19:24:56 +00:00
- "utils/**"
- "doc/**"
- "docker/**"
2019-10-28 21:36:19 +00:00
pull_request:
2019-10-28 21:39:37 +00:00
branches:
2019-10-28 21:36:19 +00:00
- master
2019-10-28 22:36:03 +00:00
paths-ignore:
2020-09-25 19:24:56 +00:00
- "utils/**"
- "doc/**"
- "docker/**"
2019-10-28 21:36:19 +00:00
schedule:
2020-09-25 19:24:56 +00:00
- cron: "0 5 * * *"
2019-10-28 21:39:37 +00:00
2019-10-28 21:36:19 +00:00
jobs:
build:
2019-10-29 21:32:49 +00:00
name: Build kernels
2020-09-25 19:47:31 +00:00
runs-on: ubuntu-20.04
2019-10-28 21:36:19 +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=rpi3 bundle exec ruby utils/devtool.rb make