Feat: arm64 build option in CI

This commit is contained in:
HFO4 2020-04-11 10:45:18 +08:00
parent 7be0366b1f
commit 3c09ad7c02
2 changed files with 2 additions and 1 deletions

View file

@ -15,6 +15,7 @@ before_deploy:
- sudo apt-get update
- sudo apt-get -y install gcc-mingw-w64-x86-64
- sudo apt-get -y install gcc-arm-linux-gnueabihf libc6-dev-armhf-cross
- sudo apt-get -y install gcc-aarch64-linux-gnu
- chmod +x ./build.sh
- ./build.sh -r b
deploy:

View file

@ -72,7 +72,7 @@ _build() {
release(){
cd $REPO
## List of architectures and OS to test coss compilation.
SUPPORTED_OSARCH="linux/amd64/gcc linux/arm/arm-linux-gnueabihf-gcc windows/amd64/x86_64-w64-mingw32-gcc"
SUPPORTED_OSARCH="linux/amd64/gcc linux/arm/arm-linux-gnueabihf-gcc windows/amd64/x86_64-w64-mingw32-gcc linux/arm64/aarch64-linux-gnu-gcc"
echo "Release builds for OS/Arch/CC: ${SUPPORTED_OSARCH}"
for each_osarch in ${SUPPORTED_OSARCH}; do