Skip to content

Commit

Permalink
Remove conflicting postgres, clang, llvm: cf
Browse files Browse the repository at this point in the history
  • Loading branch information
maparent committed Oct 24, 2023
1 parent 1229df3 commit 8c7d571
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test-pg_bm25.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ jobs:
${{ runner.os }}-cargo-pgrx
${{ runner.os }}-cargo
- name: Remove old postgres, llvm, clang, and install appropriate version
run: |
sudo apt remove -y '^postgres.*' '^libpq.*' '^mono-llvm.*'
apt list --installed 'clang*' 'llvm*' 'libclang*' 'libllvm*' | awk -F/ -e '{print $1}' | grep -P '\d' | grep -vP '\D14(\D.*)?$' | xargs sudo apt remove -y
sudo apt-get install -y llvm-14-dev libclang-14-dev clang-14 gcc
- name: Install & Configure Supported PostgreSQL Version
run: |
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test-pg_search.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ jobs:
${{ runner.os }}-cargo-pgrx
${{ runner.os }}-cargo
- name: Remove old postgres, llvm, clang, and install appropriate version
run: |
sudo apt remove -y '^postgres.*' '^libpq.*' '^mono-llvm.*'
apt list --installed 'clang*' 'llvm*' 'libclang*' 'libllvm*' | awk -F/ -e '{print $1}' | grep -P '\d' | grep -vP '\D14(\D.*)?$' | xargs sudo apt remove -y
sudo apt-get install -y llvm-14-dev libclang-14-dev clang-14 gcc
- name: Install & Configure Supported PostgreSQL Version
run: |
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
Expand Down

0 comments on commit 8c7d571

Please sign in to comment.