mirror of
https://github.com/Waujito/youtubeUnblock.git
synced 2024-12-22 06:15:31 +00:00
CI: add armv7 static build
This commit is contained in:
parent
ec9f5bb20c
commit
bbd9f29a67
12
.github/workflows/build-ci.yml
vendored
12
.github/workflows/build-ci.yml
vendored
@ -44,7 +44,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
# arch: [x86_64, x86, aarch64, armhf, armv7, ppc64le, s390x]
|
||||
arch: [x86_64, x86, aarch64, armhf]
|
||||
arch: [x86_64, x86, aarch64, armhf, armv7]
|
||||
branch: [latest-stable]
|
||||
steps:
|
||||
- name: Checkout
|
||||
@ -77,7 +77,7 @@ jobs:
|
||||
shell: alpine.sh {0}
|
||||
run: |
|
||||
case $ARCH in
|
||||
x86_64) PLATFORM=x86_64 ;;
|
||||
x86_64) PLATFORM=x86-64 ;;
|
||||
x86) PLATFORM=x86 ;;
|
||||
aarch64) PLATFORM=arm64 ;;
|
||||
armhf) PLATFORM=arm ;;
|
||||
@ -85,12 +85,8 @@ jobs:
|
||||
esac
|
||||
make -j$(nproc) CC="ccache gcc -static-libgcc -static" || exit 1
|
||||
strip -s build/youtubeUnblock
|
||||
rm -rf youtubeUnblock || true
|
||||
mkdir youtubeUnblock
|
||||
cp build/youtubeUnblock youtubeUnblock
|
||||
cp youtubeUnblock.service youtubeUnblock
|
||||
cp README.md youtubeUnblock
|
||||
tar -czvf youtubeUnblock-$VERSION-$SHA-$PLATFORM-static.tar.gz youtubeUnblock
|
||||
cp -va build/youtubeUnblock .
|
||||
tar -czvf youtubeUnblock-$VERSION-$SHA-$PLATFORM-static.tar.gz youtubeUnblock youtubeUnblock.service README.md
|
||||
ccache --show-stats
|
||||
|
||||
- name: Upload artifacts
|
||||
|
Loading…
Reference in New Issue
Block a user