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

41 lines
823 B
YAML
Raw Normal View History

2020-01-01 22:38:27 +00:00
name: Integration-Tests
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:
name: Run integration 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: |
bundle exec ruby utils/devtool.rb test_integration