Skip to content

Commit 71f6366

Browse files
authored
chore: downgrade g++ to fix librocksdb-sys build in CI, install libssl1.1 (#2302)
* chore: downgrade g++ to fix librocksdb-sys build in CI * chore(ci): install libssl1.1
1 parent f954684 commit 71f6366

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/ci-message-buffer-idl.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
components: rustfmt, clippy
2626
- name: Install Solana
2727
run: |
28+
wget http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb
29+
sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb
2830
sh -c "$(curl -sSfL https://release.solana.com/v1.14.18/install)"
2931
echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
3032
- name: Install Anchor

.github/workflows/ci-pre-commit.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ jobs:
3030
- uses: actions/checkout@v4
3131
- name: Install poetry
3232
run: pipx install poetry
33+
- name: Install g++ 12
34+
run: |
35+
sudo apt-get install g++-12
36+
echo "CXX=/usr/bin/g++-12" >> "${GITHUB_ENV}"
3337
- uses: actions/setup-python@v2
3438
with:
3539
python-version: ${{ env.PYTHON_VERSION }}

0 commit comments

Comments
 (0)