mirror of
https://github.com/CDrummond/bliss-analyser.git
synced 2025-04-08 05:00:02 +03:00
Rust 2021?
This commit is contained in:
parent
a12971df17
commit
074be07d18
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@ -66,18 +66,9 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
|
||||
- name: Docker setup
|
||||
run: |
|
||||
docker run --rm -v $(pwd):/source dlecan/rust-crosscompiler-arm:stable
|
||||
|
||||
- name: Enable 2021 edition
|
||||
run: |
|
||||
echo 'cargo-features = ["edition2021"]' > /tmp/bliss-analyser-Cargo.toml
|
||||
cat Cargo.toml >> /tmp/bliss-analyser-Cargo.toml
|
||||
mv /tmp/bliss-analyser-Cargo.toml Cargo.toml
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
docker run --rm -v $(pwd):/source dlecan/rust-crosscompiler-arm:stable
|
||||
docker build -t bliss-analyser-cross - < docker/Dockerfile
|
||||
docker run --rm -v $PWD/target:/build -v $PWD:/src bliss-analyser-cross
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
name = "bliss-analyser"
|
||||
version = "0.2.1"
|
||||
authors = ["Craig Drummond <craig.p.drummond@gmail.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
license = "GPL-3.0-only"
|
||||
description = "Analyse audio files with bliss-rs"
|
||||
repository = "https://github.com/CDrummond/bliss-analyser"
|
||||
|
@ -12,7 +12,6 @@ RUN apt-get install -y curl git build-essential gcc-multilib musl-tools musl-dev
|
||||
|
||||
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
|
||||
ENV PATH="/root/.cargo/bin/:${PATH}"
|
||||
RUN rustup default nightly && rustup update
|
||||
RUN rustup target add aarch64-unknown-linux-gnu && \
|
||||
rustup target add arm-unknown-linux-gnueabihf
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user