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:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
# arch: [x86_64, x86, aarch64, armhf, armv7, ppc64le, s390x]
|
# 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]
|
branch: [latest-stable]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@ -77,7 +77,7 @@ jobs:
|
|||||||
shell: alpine.sh {0}
|
shell: alpine.sh {0}
|
||||||
run: |
|
run: |
|
||||||
case $ARCH in
|
case $ARCH in
|
||||||
x86_64) PLATFORM=x86_64 ;;
|
x86_64) PLATFORM=x86-64 ;;
|
||||||
x86) PLATFORM=x86 ;;
|
x86) PLATFORM=x86 ;;
|
||||||
aarch64) PLATFORM=arm64 ;;
|
aarch64) PLATFORM=arm64 ;;
|
||||||
armhf) PLATFORM=arm ;;
|
armhf) PLATFORM=arm ;;
|
||||||
@ -85,12 +85,8 @@ jobs:
|
|||||||
esac
|
esac
|
||||||
make -j$(nproc) CC="ccache gcc -static-libgcc -static" || exit 1
|
make -j$(nproc) CC="ccache gcc -static-libgcc -static" || exit 1
|
||||||
strip -s build/youtubeUnblock
|
strip -s build/youtubeUnblock
|
||||||
rm -rf youtubeUnblock || true
|
cp -va build/youtubeUnblock .
|
||||||
mkdir youtubeUnblock
|
tar -czvf youtubeUnblock-$VERSION-$SHA-$PLATFORM-static.tar.gz youtubeUnblock youtubeUnblock.service README.md
|
||||||
cp build/youtubeUnblock youtubeUnblock
|
|
||||||
cp youtubeUnblock.service youtubeUnblock
|
|
||||||
cp README.md youtubeUnblock
|
|
||||||
tar -czvf youtubeUnblock-$VERSION-$SHA-$PLATFORM-static.tar.gz youtubeUnblock
|
|
||||||
ccache --show-stats
|
ccache --show-stats
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
|
Loading…
Reference in New Issue
Block a user