try github actions

master
Robert Jördens 2019-09-11 17:28:53 +02:00 committed by GitHub
parent bdc9f40adc
commit 5dffe1c456
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

25
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: Continuous Integration
on:
push:
branches:
- staging
- trying
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install toolchain
run: rustup toolchain install nightly
- name: Use toolchain
run: rustup override add nightly
- name: Install target
run: rustup target add thumbv7em-none-eabihf
- name: Build release
run: cargo build --verbose --release
- name: Build semihosting
run: cargo build --verbose --features semihosting
- name: Build bkpt
run: cargo build --verbose --features bkpt,semihosting