add start to android building
This commit is contained in:
@@ -171,6 +171,39 @@
|
||||
/>
|
||||
<span><i class="fa-brands fa-linux text-cyan-300"></i> FreeBSD ARM64</span>
|
||||
</label>
|
||||
<label
|
||||
class="flex items-center gap-2 p-3 bg-slate-800/60 border border-slate-700 rounded-lg cursor-pointer hover:border-blue-500 transition-colors"
|
||||
>
|
||||
<input
|
||||
type="checkbox"
|
||||
name="platform"
|
||||
value="android-arm64"
|
||||
class="w-4 h-4"
|
||||
/>
|
||||
<span><i class="fa-brands fa-android text-green-400"></i> Android ARM64</span>
|
||||
</label>
|
||||
<label
|
||||
class="flex items-center gap-2 p-3 bg-slate-800/60 border border-slate-700 rounded-lg cursor-pointer hover:border-blue-500 transition-colors"
|
||||
>
|
||||
<input
|
||||
type="checkbox"
|
||||
name="platform"
|
||||
value="android-amd64"
|
||||
class="w-4 h-4"
|
||||
/>
|
||||
<span><i class="fa-brands fa-android text-green-400"></i> Android x64</span>
|
||||
</label>
|
||||
<label
|
||||
class="flex items-center gap-2 p-3 bg-slate-800/60 border border-slate-700 rounded-lg cursor-pointer hover:border-blue-500 transition-colors"
|
||||
>
|
||||
<input
|
||||
type="checkbox"
|
||||
name="platform"
|
||||
value="android-armv7"
|
||||
class="w-4 h-4"
|
||||
/>
|
||||
<span><i class="fa-brands fa-android text-green-400"></i> Android ARMv7</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -170,7 +170,7 @@ export async function startBuildProcess(
|
||||
|
||||
for (const platform of platformsToBuild) {
|
||||
const [os, arch, ...rest] = platform.split("-");
|
||||
const goarm = rest[0] === "armv7" ? "7" : undefined;
|
||||
const goarm = arch === "armv7" ? "7" : undefined;
|
||||
const actualArch = goarm ? "arm" : arch;
|
||||
const outputName = deps.sanitizeOutputName(
|
||||
platform.includes("windows") ? `agent-${platform}.exe` : `agent-${platform}`,
|
||||
|
||||
@@ -25,4 +25,7 @@ export const ALLOWED_PLATFORMS = new Set([
|
||||
"darwin-arm64",
|
||||
"freebsd-amd64",
|
||||
"freebsd-arm64",
|
||||
"android-arm64",
|
||||
"android-amd64",
|
||||
"android-armv7",
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user