test 4
This commit is contained in:
parent
5e8ee7f90b
commit
894d18322b
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@ -34,12 +34,17 @@ jobs:
|
|||||||
wget -O dl/${IB_NAME}.tar.xz ${IB_URL}${IB_NAME}.tar.xz
|
wget -O dl/${IB_NAME}.tar.xz ${IB_URL}${IB_NAME}.tar.xz
|
||||||
wget -O dl/${MF_NAME} ${IB_URL}${MF_NAME}
|
wget -O dl/${MF_NAME} ${IB_URL}${MF_NAME}
|
||||||
wget -O dl/sha256sums ${IB_URL}sha256sums
|
wget -O dl/sha256sums ${IB_URL}sha256sums
|
||||||
|
[ -s dl/sha256sums ]
|
||||||
|
[ -s dl/${MF_NAME} ]
|
||||||
|
[ -s dl/${IB_NAME}.tar.xz ]
|
||||||
|
grep -Fq ${MF_NAME} dl/sha256sums
|
||||||
|
grep -Fq ${IB_NAME}.tar.xz dl/sha256sums
|
||||||
cd dl && sha256sum -c --ignore-missing --status sha256sums
|
cd dl && sha256sum -c --ignore-missing --status sha256sums
|
||||||
|
|
||||||
- name: Unpack IB
|
- name: Unpack IB
|
||||||
run: |
|
run: |
|
||||||
mkdir ib
|
mkdir ib
|
||||||
tar -C ib --strip-components=1 -xJf ../dl/${IB_NAME}.tar.xz
|
tar -C ib --strip-components=1 -xJf dl/${IB_NAME}.tar.xz
|
||||||
cp -a src/* ib/
|
cp -a src/* ib/
|
||||||
ls patches/ | sort | xargs -n1 sh -c 'patch -p1 -d ib -i ../patches/$0'
|
ls patches/ | sort | xargs -n1 sh -c 'patch -p1 -d ib -i ../patches/$0'
|
||||||
sed -i 's/ unofficial/ oversea/' ib/Makefile
|
sed -i 's/ unofficial/ oversea/' ib/Makefile
|
||||||
|
Loading…
Reference in New Issue
Block a user