linux nightly release fix

The serde feature can not be passed to roc_std when doing a non-test build, because roc_std is excluded from the workspace, including it used to error on windows. Further discussion in #3756
This commit is contained in:
Anton-4 2022-08-12 14:45:35 +02:00 committed by GitHub
parent 07eed2c4a6
commit 3da72965d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -126,7 +126,7 @@ build-nightly-release:
COPY --dir .git LICENSE LEGAL_DETAILS ci ./
# version.txt is used by the CLI: roc --version
RUN ./ci/write_version.sh
RUN RUSTFLAGS="-C target-cpu=x86-64" cargo build --features with_sound serde --release
RUN RUSTFLAGS="-C target-cpu=x86-64" cargo build --features with_sound --release
RUN ./ci/package_release.sh roc_linux_x86_64.tar.gz
SAVE ARTIFACT ./roc_linux_x86_64.tar.gz AS LOCAL roc_linux_x86_64.tar.gz