Remove the plugin manager and plugin support in favour of compile-time functionality #130
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: Rust CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build_and_test: | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest | |
- windows-latest | |
runs-on: ${{ matrix.os }} | |
name: Build and test | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: 1.69.0 | |
default: true | |
- name: Install Ubuntu dependencies | |
if: ${{ matrix.os == 'ubuntu-latest' }} | |
run: export DEBIAN_FRONTEND=noninteractive && sudo apt update && sudo apt install -y librust-alsa-sys-dev | |
# Fake dependency to build the binary, otherwise it fails even with the feature off | |
# Multiline reference: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions | |
- run: | | |
mkdir -p crates/glass | |
cat <<EOF > crates/glass/Cargo.toml | |
[package] | |
name = "glass" | |
version = "0.1.0" | |
edition = "2021" | |
EOF | |
- run: cargo build --release | |
- run: cargo test |