Use shared CI scripts
This commit is contained in:
+1
-12
@@ -1,18 +1,7 @@
|
||||
set -ex
|
||||
|
||||
cat >> /etc/pacman.conf <<EOF
|
||||
[archlinuxcn]
|
||||
Server = https://repo.archlinuxcn.org/\$arch
|
||||
SigLevel = Never
|
||||
EOF
|
||||
source shared-ci/prepare-archlinux.sh
|
||||
|
||||
# Work-around the issue with glibc 2.33 on old Docker engines
|
||||
# Extract files directly as pacman is also affected by the issue
|
||||
patched_glibc=glibc-linux4-2.33-4-x86_64.pkg.tar.zst
|
||||
curl -LO https://repo.archlinuxcn.org/x86_64/$patched_glibc
|
||||
bsdtar -C / -xvf $patched_glibc
|
||||
|
||||
pacman -Syu --noconfirm
|
||||
# See *depends in https://github.com/archlinuxcn/repo/blob/master/archlinuxcn/qtermwidget-git/PKGBUILD
|
||||
pacman -S --noconfirm --needed git cmake lxqt-build-tools-git qt5-tools python-pyqt5 python-sip4 sip4
|
||||
|
||||
|
||||
@@ -9,5 +9,10 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout the repo
|
||||
uses: actions/checkout@v2
|
||||
- name: Checkout shared CI repo
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
repository: lxqt/ci
|
||||
path: shared-ci
|
||||
- name: Build
|
||||
run: bash ./.ci/build.sh
|
||||
|
||||
Reference in New Issue
Block a user