Support Intel and ARM platforms for macOS.

This commit is contained in:
Patrick Lehmann
2024-08-01 11:19:58 +02:00
parent 02d386a9e1
commit 2004711d48
4 changed files with 32 additions and 9 deletions

View File

@@ -78,10 +78,10 @@ for dependency in dependencies:
pacboyPackages.add(rewrite)
# Write jobs to special file
# github_output = Path(getenv("GITHUB_OUTPUT"))
# print(f"GITHUB_OUTPUT: {github_output}")
# with github_output.open("a+") as f:
# f.write(f"pacboy_packages={' '.join(pacboyPackages)}\n")
github_output = Path(getenv("GITHUB_OUTPUT"))
print(f"GITHUB_OUTPUT: {github_output}")
with github_output.open("a+") as f:
f.write(f"pacboy_packages={' '.join(pacboyPackages)}\n")
print(f"GITHUB_OUTPUT:")
print(f"pacboy_packages={' '.join(pacboyPackages)}\n")

View File

@@ -67,9 +67,10 @@ data = {
},
# Runner systems (runner images) supported by GitHub Actions
"sys": {
"ubuntu": {"icon": "🐧", "runs-on": "ubuntu-24.04", "shell": "bash", "name": "Linux (x86-64)"},
"ubuntu": {"icon": "🐧", "runs-on": "ubuntu-2024.04", "shell": "bash", "name": "Linux (x86-64)"},
"windows": {"icon": "🪟", "runs-on": "windows-latest", "shell": "pwsh", "name": "Windows (x86-64)"},
"macos": {"icon": "🍎", "runs-on": "macos-latest", "shell": "bash", "name": "MacOS (x86-64)"},
"macos": {"icon": "🍎", "runs-on": "macos-latest-large", "shell": "bash", "name": "macOS (x86-64)"},
"macos-arm": {"icon": "🍏", "runs-on": "macos-latest", "shell": "bash", "name": "macOS (arm64)"},
},
# Runtimes provided by MSYS2
"runtime": {