File tree Expand file tree Collapse file tree 2 files changed +22
-7
lines changed
Expand file tree Collapse file tree 2 files changed +22
-7
lines changed Original file line number Diff line number Diff line change 5050 spc_binary : https://dl.static-php.dev/static-php-cli/spc-bin/nightly/spc-linux-x86_64
5151 build_options : --build-micro --with-upx-pack
5252 filename : automate-linux-amd64
53- # MacOS amd64
54- - runs_on : macos-13
55- spc_binary : https://dl.static-php.dev/static-php-cli/spc-bin/nightly/spc-macos-x86_64
56- build_options : --build-micro
57- filename : automate-darwin-amd64
5853 # MacOS arm64
59- - runs_on : macos-14
54+ - runs_on : macos-latest
6055 spc_binary : https://dl.static-php.dev/static-php-cli/spc-bin/nightly/spc-macos-aarch64
6156 build_options : --build-micro
6257 filename : automate-darwin-arm64
Original file line number Diff line number Diff line change @@ -83,9 +83,29 @@ platform_check() {
8383 exit 1
8484 ;;
8585 esac
86- output " [*] Your architecture (${arch} ) is supported" " success"
8786
8887 platform=" ${os} -${arch} "
88+
89+ # Check if the platform combination is supported
90+ case ${platform} in
91+ " linux-amd64" |" darwin-arm64" )
92+ output " [*] Your platform (${platform} ) is supported" " success"
93+ ;;
94+ " darwin-amd64" )
95+ output " [ ] macOS Intel (amd64) is no longer supported" " error"
96+ output " Please use an Apple Silicon (arm64) device" " error"
97+ exit 1
98+ ;;
99+ " linux-arm64" )
100+ output " [ ] Linux ARM64 is not currently supported" " error"
101+ output " Please use Linux AMD64" " error"
102+ exit 1
103+ ;;
104+ * )
105+ output " [ ] Your platform (${platform} ) is not currently supported" " error"
106+ exit 1
107+ ;;
108+ esac
89109}
90110
91111last_release_version () {
You can’t perform that action at this time.
0 commit comments