add: all files
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
name: Test suite
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
schedule:
|
||||
- cron: "0 2 * * 1-5"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Prepare the Rust build environment
|
||||
run:
|
||||
docker build . --file .github/Dockerfile.ci --tag rust-avr-ci:$GITHUB_RUN_NUMBER
|
||||
|
||||
- name: Compile the crate for the AVR atmega328p
|
||||
run:
|
||||
docker run rust-avr-ci:$GITHUB_RUN_NUMBER build -Z build-std=core --target avr-atmega328p.json --release --all --bins --examples
|
||||
|
||||
- name: Compile the crate for the host machine and and run tests
|
||||
run:
|
||||
docker run rust-avr-ci:$GITHUB_RUN_NUMBER test --all
|
||||
Reference in New Issue
Block a user