Skip to content

Commit

Permalink
Fixes for ARM macOS CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
Apprentice-Alchemist committed Jun 29, 2024
1 parent f0c7c0a commit c7e096b
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -710,6 +710,9 @@ jobs:
include:
- target: hl
BREW_PACKAGES: ninja
exclude:
- os: macos-14
target: hl
steps:
- uses: actions/checkout@main
with:
Expand Down
3 changes: 3 additions & 0 deletions extra/github-actions/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,9 @@ jobs:
include:
- target: hl
BREW_PACKAGES: ninja
exclude:
- os: macos-14
target: hl
steps:
- uses: actions/checkout@main
with:
Expand Down
2 changes: 1 addition & 1 deletion tests/misc/neko/projects/Issue10937/Main.hx
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ function main() {

final expectedNdllSubDir = Sys.systemName() + arch.getNdllSuffix() + "/";

trace(neko.vm.Loader.local().getPath());
final ndllPath = neko.vm.Loader.local().getPath()[0];

if (ndllPath.endsWith(expectedNdllSubDir)) {
Sys.println("Success");
} else {
Expand Down
2 changes: 2 additions & 0 deletions tests/runci/targets/Cpp.hx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ class Cpp {
'HXCPP_M32';
case 'Linux' if(Linux.arch == Arm64):
'HXCPP_LINUX_ARM64';
case 'Mac' if(commandResult('arch').stdout == "arm64"):
'HXCPP_ARM64';
case _:
'HXCPP_M64';
}
Expand Down
4 changes: 3 additions & 1 deletion tests/runci/targets/Lua.hx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ class Lua {
runNetworkCommand("brew", ["install", "python3"]);

attemptCommand("brew", ["install", "pcre2"]);
runCommand("pip3", ["install", "hererocks"]);
runCommand("pip3", ["install", "--user", "hererocks"]);
final pyUserBase = commandResult("python", ["-m", "site", "--user-base"]).stdout.trim();
addToPATH(Path.join([pyUserBase, "bin"]));
runCommand("brew", ["install", "openssl"]);
}
}
Expand Down

0 comments on commit c7e096b

Please sign in to comment.