Skip to content

Commit

Permalink
linux_x64: add missing dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ahadas committed Apr 23, 2024
1 parent fb0b655 commit 460eab8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/linux_x64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,18 @@ jobs:
id: jtreg
uses: mucommander/jdk/.github/actions/get-jtreg@refs/heads/master

# Upgrading apt to solve libc6 installation bugs, see JDK-8260460.
- name: 'Install toolchain and dependencies'
run: |
# Install dependencies using apt-get
if [[ '${{ inputs.apt-architecture }}' != '' ]]; then
sudo dpkg --add-architecture ${{ inputs.apt-architecture }}
fi
sudo apt-get update
sudo apt-get install --only-upgrade apt
sudo apt-get install gcc-10-multilib g++-10-multilib libxrandr-dev libxtst-dev libcups2-dev libasound2-dev
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 --slave /usr/bin/g++ g++ /usr/bin/g++-10
- name: 'Configure'
run: >
bash configure
Expand Down

0 comments on commit 460eab8

Please sign in to comment.