mirror of
https://github.com/CDrummond/bliss-analyser.git
synced 2025-04-08 05:00:02 +03:00
edition2021 requires nightly
This commit is contained in:
parent
de2c2dfaa3
commit
cf0e6cf5fb
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -66,6 +66,12 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
|
||||
- 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
|
||||
|
@ -1,5 +1,3 @@
|
||||
cargo-features = ["edition2021"]
|
||||
|
||||
[package]
|
||||
name = "bliss-analyser"
|
||||
version = "0.2.1"
|
||||
|
@ -12,6 +12,7 @@ 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