runs-on: ubuntu-16.04
strategy:
matrix:
- arch: [i386, x86_64, arm, armhf, mips, mipsel]
+ arch: [i386, x86_64, arm, armhf, aarch64, mips, mipsel]
steps:
- uses: actions/checkout@v1
- name: Cross build (${{ matrix.arch }})
- name: Build Release
run: |
mkdir -p bin
- for arch in i386 x86_64 arm armhf mips mipsel; do
+ 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
cp build/ttyd bin/ttyd_linux.$arch
sha256sum bin/ttyd_linux.$arch >> bin/SHA256SUMS
}
case $1 in
- i386|x86_64|mips|mipsel)
+ i386|x86_64|aarch64|mips|mipsel)
build $1-linux-musl $1
;;
arm)
build arm-linux-musleabihf $1
;;
*)
- echo "usage: $0 i386|x86_64|arm|armhf|mips|mipsel" && exit 1
+ echo "usage: $0 i386|x86_64|arm|armhf|aarch64|mips|mipsel" && exit 1
esac
-