Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Commit

Permalink
Add a basic github actions build description.
Browse files Browse the repository at this point in the history
Copy the rust starter workflow for github actions. This does
a basic build and test with the default toolchain so we get
some continuous integration feedback for work on that platform.
  • Loading branch information
rillian committed Dec 17, 2020
1 parent d09f556 commit e14bce7
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Rust

on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose

0 comments on commit e14bce7

Please sign in to comment.