mirror of
https://github.com/tsl0922/ttyd.git
synced 2026-01-24 03:34:21 +01:00
scripts: use cross compiler from musl.cc
This commit is contained in:
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@@ -9,12 +9,16 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-16.04
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install packages
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y autoconf automake build-essential cmake curl file libtool
|
||||
- name: Build Release
|
||||
run: |
|
||||
mkdir -p bin
|
||||
for arch in i386 x86_64 arm armhf aarch64 mips mipsel; do
|
||||
docker run --rm -v $(pwd):/ttyd -w /ttyd tsl0922/musl-cross ./scripts/cross-build.sh $arch
|
||||
for arch in i686 x86_64 arm armhf aarch64 mips mipsel mips64 mips64el; do
|
||||
./scripts/cross-build.sh $arch
|
||||
cp build/ttyd bin/ttyd_linux.$arch
|
||||
sha256sum bin/ttyd_linux.$arch >> bin/SHA256SUMS
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user