Adapt to removal of seafile
Release Alpine apk for ARM64v8 / compilation-arm64v8 (push) Failing after 2m49s Details

This commit is contained in:
ITmodulo 2024-02-22 22:03:05 +01:00
parent 801d4fe92d
commit e489342fa8
1 changed files with 10 additions and 4 deletions

View File

@ -12,9 +12,15 @@ jobs:
- name: Update environment - name: Update environment
shell: sh shell: sh
run: apk -U upgrade run: apk -U upgrade
- name: Install needed tools - name: Install bash
shell: sh shell: sh
run: apk add bash git wget curl nodejs sshfs alpine-sdk abuild sudo shadow run: apk add bash
- name: Select faster mirror and add tools
run: |
echo "https://alpine.sakamoto.pl/alpine/$(cat /etc/os-release | grep PRETT | cut -d ' ' -f 3 | cut -d '"' -f 1)/main" > /etc/apk/repositories
echo "https://alpine.sakamoto.pl/alpine/$(cat /etc/os-release | grep PRETT | cut -d ' ' -f 3 | cut -d '"' -f 1)/community" >> /etc/apk/repositories
apk update
apk add git wget curl nodejs sshfs alpine-sdk abuild sudo shadow
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Set up environment and users - name: Set up environment and users
@ -41,9 +47,9 @@ jobs:
- name: Compile in sequence - name: Compile in sequence
run: | run: |
mv srcpkgs /home/runner && chown -R runner:runner /home/runner/srcpkgs mv srcpkgs /home/runner && chown -R runner:runner /home/runner/srcpkgs
su - runner -c 'export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"; cd srcpkgs/libsearpc; abuild -r' su - runner -c 'export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"; cd srcpkgs/hunspell-pl; abuild -r'
echo "/home/runner/packages/srcpkgs" >> /etc/apk/repositories echo "/home/runner/packages/srcpkgs" >> /etc/apk/repositories
su - runner -c 'export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"; cd srcpkgs; for i in $(ls ./ | grep -v libsearpc); do cd $i && abuild -r; cd .. ; done' su - runner -c 'export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"; cd srcpkgs; for i in $(ls ./ | grep -v hunspell-pl); do cd $i && abuild -r; cd .. ; done'
- name: Mount and upload - name: Mount and upload
run: | run: |
su - runner -c 'mkdir hole' su - runner -c 'mkdir hole'