Skip to content

Commit

Permalink
ci: switch to tar
Browse files Browse the repository at this point in the history
  • Loading branch information
chesedo committed Nov 22, 2022
1 parent 5c0490b commit 278f856
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ commands:
mv LICENSE shuttle/
mv README.md shuttle/
mkdir artifacts
7z a -ttar -so -an shuttle | 7z a -si artifacts/shuttle-${CIRCLE_TAG}-<< parameters.target >>.tar.gz
tar -cvzf artifacts/shuttle-${CIRCLE_TAG}-<< parameters.target >>.tar.gz shuttle
- persist_to_workspace:
root: artifacts
paths:
Expand Down Expand Up @@ -279,7 +279,7 @@ jobs:
type: string
steps:
- checkout
- run: sudo apt update && sudo DEBIAN_FRONTEND=noninteractive apt install -y libssl-dev musl-tools clang p7zip-full
- run: sudo apt update && sudo DEBIAN_FRONTEND=noninteractive apt install -y libssl-dev musl-tools clang
- run:
name: Install Rust
command: curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf | bash -s -- -y --default-toolchain 1.63.0 --target << parameters.target >>
Expand Down Expand Up @@ -323,7 +323,6 @@ jobs:
resource_class: medium
steps:
- checkout
- run: brew install p7zip
- run:
name: Install Rust
command: curl --proto '=https' https://sh.rustup.rs -sSf | bash -s -- -y --default-toolchain 1.63.0 --target x86_64-apple-darwin
Expand Down Expand Up @@ -391,23 +390,23 @@ workflows:
# filters:
# branches:
# only: production
# - build-binaries-linux:
# name: build-binaries-x86_64
# image: ubuntu-2204:2022.04.1
# target: x86_64-unknown-linux-musl
# resource_class: medium
- build-binaries-linux:
name: build-binaries-x86_64
image: ubuntu-2204:2022.04.1
target: x86_64-unknown-linux-musl
resource_class: medium
# requires:
# - build-and-push
# filters:
# tags:
# only: /^v.*/
# branches:
# only: production
# - build-binaries-linux:
# name: build-binaries-aarch64
# image: ubuntu-2004:202101-01
# target: aarch64-unknown-linux-musl
# resource_class: arm.medium
- build-binaries-linux:
name: build-binaries-aarch64
image: ubuntu-2004:202101-01
target: aarch64-unknown-linux-musl
resource_class: arm.medium
# requires:
# - build-and-push
# filters:
Expand All @@ -423,7 +422,7 @@ workflows:
# only: /^v.*/
# branches:
# only: production
# - build-binaries-mac:
- build-binaries-mac
# requires:
# - build-and-push
# filters:
Expand All @@ -433,10 +432,10 @@ workflows:
# only: production
- publish-github-release:
requires:
# - build-binaries-x86_64
# - build-binaries-aarch64
- build-binaries-x86_64
- build-binaries-aarch64
- build-binaries-windows
# - build-binaries-mac
- build-binaries-mac
# filters:
# tags:
# only: /^v.*/
Expand Down

0 comments on commit 278f856

Please sign in to comment.