Add port symbol to Port. #133
Workflow file for this run
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: Testing | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get -y install liblilv-dev lv2-examples mda-lv2 jackd libjack0 libjack-dev | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Rust Cache | |
uses: Swatinem/rust-cache@v1 | |
- name: Lint | |
run: cargo clippy --all-targets --all-features -- -D clippy::all | |
- name: Build | |
run: cargo build --verbose | |
- name: Run tests | |
run: cargo test --verbose | |
release: | |
runs-on: ubuntu-latest | |
needs: [test] | |
if: contains('refs/heads/main', github.ref) | |
steps: | |
- name: Install Dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get -y install liblilv-dev lv2-examples mda-lv2 jackd libjack0 libjack-dev | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Rust Cache | |
uses: Swatinem/rust-cache@v1 | |
- name: Publish | |
env: | |
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} | |
run: cargo publish --token $CARGO_REGISTRY_TOKEN | |
continue-on-error: true |