Skip to content

Commit

Permalink
Initial CI implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Meade Kincke committed Jul 7, 2021
1 parent 953b507 commit b910aff
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/test-and-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: TestAndBuild

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Update Apt
run: sudo apt update
- name: Install Musl
run: sudo apt -y install musl musl-tools
- name: Add Musl Target Triple
run: rustup target add x86_64-unknown-linux-musl
- name: Run tests
run: cargo test --target x86_64-unknown-linux-musl --verbose
- name: Build (Musl)
run: cargo build --target x86_64-unknown-linux-musl --verbose

0 comments on commit b910aff

Please sign in to comment.