mirror of
https://github.com/rust-embedded/rust-raspberrypi-OS-tutorials.git
synced 2024-11-15 18:14:02 +00:00
48 lines
1.0 KiB
YAML
48 lines
1.0 KiB
YAML
name: BSP-RPi4
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths-ignore:
|
|
- "utils/**"
|
|
- "doc/**"
|
|
- "docker/**"
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
paths-ignore:
|
|
- "utils/**"
|
|
- "doc/**"
|
|
- "docker/**"
|
|
schedule:
|
|
- cron: "0 5 * * *"
|
|
|
|
jobs:
|
|
build:
|
|
name: Build kernels
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up Ruby 2.x
|
|
uses: actions/setup-ruby@v1
|
|
with:
|
|
ruby-version: "2.7"
|
|
- name: Set up Rust nightly
|
|
run: |
|
|
rm rust-toolchain
|
|
rustup self update
|
|
rustup toolchain install nightly --component llvm-tools-preview
|
|
rustup default nightly
|
|
rustup target add aarch64-unknown-none-softfloat
|
|
cargo install cargo-binutils
|
|
- 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
|