Add dockerfile by popular request (#41, #58) #50
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-and-tests | |
on: [push] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build-and-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build debug | |
run: cargo build | |
- name: Test debug | |
run: cargo test | |
- name: Build release | |
run: cargo build --release | |
- name: Test release | |
run: cargo test --release |