8314656: GHA: No need for Debian ports keyring installation after JDK-8313701
Reviewed-by: fyang
This commit is contained in:
parent
e36620d80e
commit
76b9011c9e
4
.github/workflows/build-cross-compile.yml
vendored
4
.github/workflows/build-cross-compile.yml
vendored
@ -111,8 +111,7 @@ jobs:
|
|||||||
g++-${{ inputs.gcc-major-version }} \
|
g++-${{ inputs.gcc-major-version }} \
|
||||||
gcc-${{ inputs.gcc-major-version }}-${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}} \
|
gcc-${{ inputs.gcc-major-version }}-${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}} \
|
||||||
g++-${{ inputs.gcc-major-version }}-${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}} \
|
g++-${{ inputs.gcc-major-version }}-${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}} \
|
||||||
libxrandr-dev libxtst-dev libcups2-dev libasound2-dev \
|
libxrandr-dev libxtst-dev libcups2-dev libasound2-dev
|
||||||
debian-ports-archive-keyring
|
|
||||||
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${{ inputs.gcc-major-version }} 100 --slave /usr/bin/g++ g++ /usr/bin/g++-${{ inputs.gcc-major-version }}
|
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${{ inputs.gcc-major-version }} 100 --slave /usr/bin/g++ g++ /usr/bin/g++-${{ inputs.gcc-major-version }}
|
||||||
|
|
||||||
- name: 'Check cache for sysroot'
|
- name: 'Check cache for sysroot'
|
||||||
@ -134,7 +133,6 @@ jobs:
|
|||||||
--include=fakeroot,symlinks,build-essential,libx11-dev,libxext-dev,libxrender-dev,libxrandr-dev,libxtst-dev,libxt-dev,libcups2-dev,libfontconfig1-dev,libasound2-dev,libfreetype-dev,libpng-dev
|
--include=fakeroot,symlinks,build-essential,libx11-dev,libxext-dev,libxrender-dev,libxrandr-dev,libxtst-dev,libxt-dev,libcups2-dev,libfontconfig1-dev,libasound2-dev,libfreetype-dev,libpng-dev
|
||||||
--resolve-deps
|
--resolve-deps
|
||||||
--variant=minbase
|
--variant=minbase
|
||||||
$(test -n "${{ matrix.debian-keyring }}" && echo "--keyring=${{ matrix.debian-keyring }}")
|
|
||||||
${{ matrix.debian-version }}
|
${{ matrix.debian-version }}
|
||||||
sysroot
|
sysroot
|
||||||
${{ matrix.debian-repository }}
|
${{ matrix.debian-repository }}
|
||||||
|
Loading…
Reference in New Issue
Block a user