Skip to content

Commit

Permalink
build(repo): build ldid only when necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
P0lip committed Jan 4, 2024
1 parent c8050dd commit d67f217
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,12 @@ commands:
command: |
sudo apt-get update -y
sudo apt-get -y install libplist-dev
curl -L https://github.com/ProcursusTeam/ldid/archive/refs/tags/v<< parameters.version >>.tar.gz | tar -xz
mv ldid-<< parameters.version >> ldid
make -C ldid
if [ ! -d ldid ]
then
curl -L https://github.com/ProcursusTeam/ldid/archive/refs/tags/v<< parameters.version >>.tar.gz | tar -xz
mv ldid-<< parameters.version >> ldid
make -C ldid
fi
- save_cache:
name: Retain ldid binary
key: ldid-binary-<< parameters.version >>-{{ arch }}
Expand Down

0 comments on commit d67f217

Please sign in to comment.