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:
@@ -32,8 +32,16 @@ rm /tmp/powershell.tar.gz
|
||||
printf "\n\t🐋 Installed PWSH 🐋\t\n"
|
||||
pwsh -v
|
||||
|
||||
case "$(uname -m)" in
|
||||
'aarch64')
|
||||
printf "\n\t🐋 Skip Installing PowerShell modules, due to crash maybe caused by qemu 🐋\t\n"
|
||||
exit 0
|
||||
;;
|
||||
*)
|
||||
modules=("MarkdownPS" "Pester" "PSScriptAnalyzer")
|
||||
;;
|
||||
esac
|
||||
printf "\n\t🐋 Installing PowerShell modules 🐋\t\n"
|
||||
modules=("MarkdownPS" "Pester" "PSScriptAnalyzer")
|
||||
|
||||
pwsh -nol -nop -c "Set-PSRepository -Name PSGallery -InstallationPolicy Trusted"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user