2022-04-25 21:52:13 +00:00
|
|
|
name: Boot-and-Unit-Tests
|
2020-01-01 22:38:27 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
paths-ignore:
|
2020-09-25 19:24:56 +00:00
|
|
|
- "utils/**"
|
|
|
|
- "doc/**"
|
|
|
|
- "docker/**"
|
2020-01-01 22:38:27 +00:00
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
paths-ignore:
|
2020-09-25 19:24:56 +00:00
|
|
|
- "utils/**"
|
|
|
|
- "doc/**"
|
|
|
|
- "docker/**"
|
2020-01-01 22:38:27 +00:00
|
|
|
schedule:
|
2020-09-25 19:24:56 +00:00
|
|
|
- cron: "0 5 * * *"
|
2020-01-01 22:38:27 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2022-04-25 21:52:13 +00:00
|
|
|
name: Run boot and unit tests
|
2020-09-25 19:47:31 +00:00
|
|
|
runs-on: ubuntu-20.04
|
2020-01-01 22:38:27 +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 all
|
|
|
|
run: |
|
2022-04-25 21:52:13 +00:00
|
|
|
bundle exec ruby utils/devtool.rb test_boot
|
2020-09-25 19:24:56 +00:00
|
|
|
bundle exec ruby utils/devtool.rb test_unit
|