From aac56f41103fd0906308a6713febb274632b5626 Mon Sep 17 00:00:00 2001 From: konstin Date: Wed, 17 Feb 2021 11:03:05 +0100 Subject: [PATCH] Delete .drone.yml aarch64 is now done by github actions --- .drone.yml | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 46f4be984..000000000 --- a/.drone.yml +++ /dev/null @@ -1,31 +0,0 @@ -# This configuration is not great but it suffices to publish wheels for maturin for 64-bit arm (aarch64) - -kind: pipeline -type: docker -name: linux_aarch64 -platform: - arch: arm64 - -steps: -- name: publish - image: python:3.8-buster - environment: - PATH: "/root/.local/bin:/root/.cargo/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" - MATURIN_PASSWORD: - from_secret: MATURIN_PASSWORD - commands: - # https://github.com/PyO3/maturin/issues/369#issuecomment-719615672 - - wget -q http://musl.cc/aarch64-linux-musl-cross.tgz - - tar xzf aarch64-linux-musl-cross.tgz -C /opt --strip-components=1 - - export PATH=$PATH:/opt/bin - - mkdir ~/.cargo - - echo '[target.aarch64-unknown-linux-musl]' >> ~/.cargo/config - - echo 'linker = "aarch64-linux-musl-gcc"' >> ~/.cargo/config - - echo 'rustflags = [ "-C", "target-feature=+crt-static", "-C", "link-arg=-lgcc" ]' >> ~/.cargo/config - - curl https://sh.rustup.rs -sSf | sh -s -- --profile minimal -y - - rustup target add aarch64-unknown-linux-musl - - cargo build --release --target aarch64-unknown-linux-musl - - cargo run --release --target aarch64-unknown-linux-musl -- publish -u konstin -b bin --no-sdist --target aarch64-unknown-linux-musl - when: - event: - - tag \ No newline at end of file