Navigation Menu

Skip to content

Commit

Permalink
add full feature set and ghbuild with it
Browse files Browse the repository at this point in the history
  • Loading branch information
skomski committed Jul 31, 2020
1 parent 216889e commit 0fb67cb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Expand Up @@ -21,9 +21,9 @@ jobs:
- name: Install autoconf
run: sudo apt-get install autoconf libtool automake
- name: Build debug soundboard binary
run: cargo build --verbose
run: cargo build --verbose --features full,autoloop
- name: Run tests
run: cargo test
run: cargo test --features full,autoloop

windows:
runs-on: windows-latest
Expand Down Expand Up @@ -51,11 +51,11 @@ jobs:
- name: Build debug soundboard binary
env:
LIBCLANG_PATH: "C:\\ProgramData\\scoop\\apps\\llvm\\current\\bin"
run: cargo build --verbose
run: cargo build --verbose --features full
- name: Run tests
env:
LIBCLANG_PATH: "C:\\ProgramData\\scoop\\apps\\llvm\\current\\bin"
run: cargo test
run: cargo test --features full

macos:
runs-on: macos-latest
Expand Down Expand Up @@ -86,11 +86,11 @@ jobs:
OPUS_STATIC: 1
OPUS_NO_PKG: 1
OPUS_LIB_DIR: "/usr/local/lib"
run: cargo build --verbose
run: cargo build --verbose --features full
- name: Run tests
env:
MACOSX_DEPLOYMENT_TARGET: 10.14
OPUS_STATIC: 1
OPUS_NO_PKG: 1
OPUS_LIB_DIR: "/usr/local/lib"
run: cargo test
run: cargo test --features full
6 changes: 3 additions & 3 deletions .github/workflows/build_release.yml
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Install autoconf
run: sudo apt-get install autoconf libtool automake
- name: Build soundboard binary
run: cargo build --verbose --release
run: cargo build --verbose --release --features full,autoloop
- name: Archive soundboard binary
uses: actions/upload-artifact@v2
with:
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Build soundboard binary
env:
LIBCLANG_PATH: "C:\\ProgramData\\scoop\\apps\\llvm\\current\\bin"
run: cargo build --verbose --release
run: cargo build --verbose --release --features full
- name: Archive soundboard binary
uses: actions/upload-artifact@v2
with:
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
OPUS_STATIC: 1
OPUS_NO_PKG: 1
OPUS_LIB_DIR: "/usr/local/lib"
run: cargo build --verbose --release
run: cargo build --verbose --release --features full
- name: Archive soundboard binary
uses: actions/upload-artifact@v2
with:
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Expand Up @@ -20,6 +20,7 @@ lto = "fat"
autoloop = ["libpulse-binding", "ctrlc"]
default = ["mp3", "flac", "vorbis", "wav", "http", "opus"]
flac = ["claxon"]
full = ["default", "spotify", "telegram-bot", "xm", "textui", "gui", "text-to-speech"]
gui = ["iced", "iced_native"]
http = ["warp", "futures"]
mp3 = ["minimp3", "mp3-duration"]
Expand Down

0 comments on commit 0fb67cb

Please sign in to comment.