Skip to content

Commit

Permalink
Fix up Circle to actually work for Alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanrainer committed Aug 12, 2024
1 parent 89df533 commit 8db2a10
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,8 @@ commands:
equal: [*amd_musl_executor, << parameters.platform >>]
steps:
- run:
name: Install musl-tools and bash
command: sudo apt-get install -y musl-tools bash musl-dev
name: Install musl-dev, bash
command: apk add musl-dev curl

- install_rust_toolchain:
rust_channel: << parameters.rust_channel >>
Expand All @@ -341,14 +341,14 @@ commands:
or:
- equal: [ *amd_windows_executor, << parameters.platform >> ]
- equal: [ *arm_ubuntu_executor, << parameters.platform >> ]
- equal: [ *amd_musl_executor, << parameters.platform >> ]
steps:
- run:
name: Install volta
command: |
curl https://get.volta.sh | bash -s -- --skip-setup
echo 'export VOLTA_HOME=$HOME/.volta' >> $BASH_ENV
echo 'export PATH=$VOLTA_HOME/bin:$PATH' >> $BASH_ENV
- when:
condition:
equal: [ *arm_ubuntu_executor, << parameters.platform >> ]
Expand Down Expand Up @@ -392,6 +392,7 @@ commands:
- run:
name: Install default versions of npm and node
shell: /bin/bash
command: |
volta install node@16
volta install npm@8
Expand All @@ -407,10 +408,16 @@ commands:
steps:
- unless:
condition:
equal: [ *amd_windows_executor, << parameters.platform >> ]
or:
- equal: [ *amd_windows_executor, << parameters.platform >> ]
- equal: [ *amd_musl_executor, << parameters.platform >> ]
steps:
- rust/install:
version: << parameters.rust_channel >>
- unless:
condition:
equal: [ *amd_windows_executor, << parameters.platform >> ]
steps:
- run:
name: Adds rust target
command: rustup target add $XTASK_TARGET
Expand Down

0 comments on commit 8db2a10

Please sign in to comment.