enable arm64 builds (#94)

* enable arm64 builds

* Add `[skip build-base]` conditional for PRs

* only setup arm64 arch in qemu

* fix permission java-tools

* go default to 1.20 and fix pwsh

* exclude lib32z1 for arm64

* increase npm timeout for qemu

* Try to speed up npm under qemu

* make npm verbose

* Use http registry

* Another test

* Use less build resources

* fix dockerhub tag

* Fix building
This commit is contained in:
ChristopherHX
2023-08-26 22:22:05 +02:00
committed by GitHub
parent 60cbcc9f33
commit 4f6bdf85e1
9 changed files with 228 additions and 136 deletions
+23 -9
View File
@@ -32,15 +32,29 @@ bash -c "$(curl -sL https://raw.githubusercontent.com/ilikenwf/apt-fast/master/q
# echo '* hard stack 16384'
# } >>/etc/security/limits.conf
scripts=(
basic
pwsh
go
js
rust
vcpkg
dotnet
)
case "$(uname -m)" in
'aarch64')
scripts=(
basic
pwsh
go
js
dotnet
)
;;
'x86_64')
scripts=(
basic
pwsh
go
js
rust
vcpkg
dotnet
)
;;
*) exit 1 ;;
esac
for SCRIPT in "${scripts[@]}"; do
printf "\n\t🧨 Executing %s.sh 🧨\t\n" "${SCRIPT}"