Skip to content

Commit b47b7fc

Browse files
authored
Merge pull request #2030 from zawata/add-macos-prebuilts
add macos arm64 tests and prebuilts
2 parents 8f3cb1c + d8db070 commit b47b7fc

File tree

4 files changed

+5
-11
lines changed

4 files changed

+5
-11
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,9 @@ jobs:
7272
strategy:
7373
matrix:
7474
node: [20, 22, 24]
75+
arch: [x64, arm64]
7576
fail-fast: false
76-
runs-on: macOS-13
77-
# This is mostly the same as the Linux steps, waiting for anchor support
78-
# https://github.com/actions/runner/issues/1182
77+
runs-on: ${{ matrix.arch == 'x64' && 'macos-15-intel' || 'macos-15' }}
7978
steps:
8079
- uses: actions/checkout@v4
8180

generate/input/libgit2-supplement.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2444,12 +2444,6 @@
24442444
}
24452445
}
24462446
],
2447-
[
2448-
"git_time_t",
2449-
{
2450-
"type": "enum"
2451-
}
2452-
],
24532447
[
24542448
"git_trace_level_t",
24552449
{

generate/scripts/helpers.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ var cTypeMappings = {
2525
"uint32_t": "Number",
2626
"uint64_t": "Number",
2727
"double": "Number",
28-
"git_object_size_t": "Number"
28+
"git_object_size_t": "Number",
29+
"git_time_t": "Number",
2930
}
3031

3132
var collisionMappings = {

test/tests/commit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ describe("Commit", function() {
286286

287287
it("can amend commit", function(){
288288
var commitToAmendId = "315e77328ef596f3bc065d8ac6dd2c72c09de8a5";
289-
var expectedAmendedCommitId = "57836e96555243666ea74ea888310cc7c41d4613";
289+
var expectedAmendedCommitId = "a41de0d1c3dc169c873dd03bd9240d9f88e60ffc";
290290
var fileName = "newfile.txt";
291291
var fileContent = "hello world";
292292
var newFileName = "newerfile.txt";

0 commit comments

Comments
 (0)