Use shared CI scripts

This commit is contained in:
Chih-Hsuan Yen
2021-02-17 23:19:21 +08:00
parent d2d1ba0d4d
commit af7856ceb9
2 changed files with 6 additions and 12 deletions
+1 -12
View File
@@ -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
+5
View File
@@ -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