Fix release build name and win32 feature (#691)

* Fix typos in release artifacts

Fixes #690

* Fix `win32` feature flag for `pancurses`

Previously, the `win32` feature was enabled for pancurses 0.17.x, which was additionally pulled in
as an extra dependency even though it wasn't used.

With this change, cargo should enable the `win32` feature in the `pancurses` instance used by `cursive`.

Fixes #690
This commit is contained in:
Henrik Friedrichsen
2022-01-02 20:09:09 +01:00
committed by GitHub
parent 94328e4ca3
commit e178837b28
3 changed files with 9 additions and 22 deletions

View File

@@ -15,7 +15,7 @@ jobs:
container: ${{ matrix.container }}
strategy:
matrix:
build_target: [linux-x86_64, linux-arm64, linux-armhf, macos-x68_64, windows-x68_64]
build_target: [linux-x86_64, linux-arm64, linux-armhf, macos-x86_64, windows-x86_64]
include:
- build_target: linux-x86_64
os: ubuntu-latest
@@ -39,14 +39,14 @@ jobs:
dependencies: 'libasound2-dev:armhf libssl-dev:armhf'
cross_arch: 'armhf'
pkg_config_path: '/usr/lib/arm-linux-gnueabihf/pkgconfig/'
- build_target: macos-x68_64
- build_target: macos-x86_64
os: macos-latest
target: x86_64-apple-darwin
features: '--no-default-features --features portaudio_backend,cursive/pancurses-backend'
- build_target: windows-x68_64
features: '--no-default-features --features portaudio_backend,pancurses_backend'
- build_target: windows-x86_64
os: windows-latest
target: x86_64-pc-windows-msvc
features: '--no-default-features --features rodio_backend,cursive/pancurses-backend'
features: '--no-default-features --features rodio_backend,pancurses_backend'
steps:
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1