Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ orbs:
slack: circleci/slack@4.13.2

base_container: &base_container
image: buildpack-deps:buster
image: buildpack-deps:bookworm

build_container: &build_container
resource_class: arm.medium
Expand Down Expand Up @@ -69,15 +69,16 @@ commands:
configure_build_tools:
steps:
- run: ./scripts/ci/common/install-slack-deps.sh
- run: ./scripts/ci/common/install-libsodium.sh
- restore_cache:
keys:
- asdf-dependencies-{{ arch }}-v2-{{ checksum ".tool-versions" }}
- asdf-dependencies-{{ arch }}-v2-
- asdf-dependencies-{{ arch }}-v3-{{ checksum ".tool-versions" }}
- asdf-dependencies-{{ arch }}-v3-
- run: ./scripts/ci/common/install-asdf.sh
- run: ./scripts/ci/common/configure-asdf.sh
- run: ./scripts/ci/common/install-asdf-dependencies.sh
- save_cache:
key: asdf-dependencies-{{ arch }}-v2-{{ checksum ".tool-versions" }}
key: asdf-dependencies-{{ arch }}-v3-{{ checksum ".tool-versions" }}
paths:
- ~/.asdf

Expand Down
8 changes: 8 additions & 0 deletions scripts/ci/common/install-libsodium.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash

[ -n "$DEBUG" ] && set -x
set -e
set -o pipefail

apt-get update
apt-get install -y --no-install-recommends libsodium-dev
Comment thread
phelma marked this conversation as resolved.