This repository was archived by the owner on Oct 29, 2026. It is now read-only.
Repository navigation
76 lines (72 loc) · 2.74 KB
/
Copy pathmac-reference.yml
File metadata and controls
76 lines (72 loc) · 2.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
name: Native macOS differential reference
on:
workflow_dispatch:
permissions:
contents: read
jobs:
reference:
runs-on: macos-15-intel
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
include:
- suite: adapter-libc-v1
count: 4096
- suite: adapter-objc-v1
count: 4096
- suite: adapter-thread-v1
count: 1024
- suite: adapter-objc-metadata-v1
count: 4096
- suite: adapter-objc-arc-o0-v1
count: 1024
- suite: adapter-objc-arc-o2-v1
count: 1024
- suite: adapter-unwind-compact-v1
count: 1024
- suite: adapter-unwind-dwarf-v1
count: 1024
steps:
- name: Check out the workflow commit
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7, resolved 2026-10-22
with:
persist-credentials: false
- name: Build the Intel Mach-O without executing it
run: python3 tools/differential.py build --suite ${{ matrix.suite }} --count ${{ matrix.count }} --output reference-bundle
- name: Capture native Darwin results
run: python3 tools/differential.py capture --bundle reference-bundle --output reference-bundle/reference.json --timeout 120
- name: Upload the exact executable, manifest, source and capture
if: always()
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: mac-reference-${{ matrix.suite }}-${{ github.sha }}
path: reference-bundle/
if-no-files-found: error
retention-days: 14
cli-reference:
runs-on: macos-15-intel
timeout-minutes: 20
steps:
- name: Check out the workflow commit
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7, resolved 2026-10-22
with:
persist-credentials: false
- name: Fetch the pinned jq and ripgrep releases without executing them yet
run: |
python3 tools/fetch_jq.py
python3 tools/fetch_ripgrep.py
- name: Capture native jq and ripgrep results
run: python3 tools/cli_differential.py capture --output cli-reference.json --timeout 60
- name: Upload the corpus, capture and provenance
if: always()
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: mac-cli-reference-${{ github.sha }}
path: |
cli-reference.json
tests/differential/cli_cases.json
tests/fixtures/generated/reference/provenance.json
tests/fixtures/generated/reference/provenance-ripgrep.json
if-no-files-found: error
retention-days: 14