Skip to content

Commit

Permalink
ubuntu 2404 no longer has lein
Browse files Browse the repository at this point in the history
  • Loading branch information
huahaiy committed Jan 29, 2025
1 parent 4e1fba0 commit ada0b7b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ env:
task:
arm_container:
image: ubuntu:focal
only_if: $CIRRUS_TAG != ''
# only_if: "changesInclude('linux-arm64/*', '.cirrus.yml')"
# only_if: $CIRRUS_TAG != ''
only_if: "changesInclude('linux-arm64/*', '.cirrus.yml')"
script: |
DEBIAN_FRONTEND=noninteractive apt-get update -y
DEBIAN_FRONTEND=noninteractive apt-get install -y curl git wget tar openjdk-21-jdk-headless build-essential
DEBIAN_FRONTEND=noninteractive apt-get install -y curl git wget tar openjdk-21-jdk-headless build-essential cmake g++-12 gcc-12
git submodule init
git submodule update --init --recursive
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ jobs:
uses: knicknic/[email protected]
with:
macos: brew install leiningen
linux: echo "lein is already installed"
linux: |
curl -O https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein
chmod a+x lein
mv lein /usr/local/bin/
- name: Build and deploy shared libraries
uses: knicknic/[email protected]
Expand All @@ -36,7 +39,7 @@ jobs:
mkdir -p src/java/datalevin/dtlvnative/macosx-x86_64
mkdir -p macosx-x86_64/resources/datalevin/dtlvnative/macosx-x86_64
brew install leiningen libomp llvm
brew install libomp llvm
script/build-macos
cp src/*.dylib macosx-x86_64/resources/datalevin/dtlvnative/macosx-x86_64/
Expand Down

0 comments on commit ada0b7b

Please sign in to comment.