blob: f80491f5875bfb01b308a76451b646ff8d50bec2 (
plain)
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
|
name: Native macOS arm64 checkpoint
"on":
push:
pull_request:
workflow_dispatch:
jobs:
native:
runs-on: macos-15
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v7
with:
node-version: '24'
package-manager-cache: false
- name: Confirm native Apple Silicon runner
run: |
test "$(uname -s)" = Darwin
test "$(uname -m)" = arm64
cc --version
- name: Keep the default build small
run: |
make -C prototypes/connections BUILD=build/mac-default all
test -f prototypes/connections/build/mac-default/libpure-execution.a
test -x prototypes/connections/build/mac-default/pure-edit-fixed
test ! -e prototypes/connections/build/mac-default/pure-edit
test ! -e prototypes/connections/build/mac-default/pure-connections
test ! -e prototypes/connections/build/mac-default/pure-document-peer
test ! -e prototypes/connections/build/mac-default/pure-edit-window
- name: Build and exercise native document app
run: |
make -C prototypes/connections BUILD=build/mac-native check-native-checkpoint \
PORTABLE_SOURCE_MEMORY_EVIDENCE="$RUNNER_TEMP/source-memory.json" \
PORTABLE_FIXED_MEMORY_EVIDENCE="$RUNNER_TEMP/fixed-memory.json"
- name: Exercise in-process document routing
run: |
make -C prototypes/connections BUILD=build/mac-native check-mirror \
MIRROR_EVIDENCE="$RUNNER_TEMP/mirror.json"
- name: Exercise authored document policy
run: |
make -C prototypes/connections BUILD=build/mac-native check-policy \
POLICY_EVIDENCE="$RUNNER_TEMP/policy.json"
- name: Exercise selected logical-page storage
run: |
getconf PAGESIZE
make -C prototypes/connections check-paged-portable
- name: Show whole-process results
if: always()
run: |
for result in "$RUNNER_TEMP"/{source-memory,fixed-memory,mirror,policy}.json; do
if test -f "$result"; then cat "$result"; fi
done
- uses: actions/upload-artifact@v4
if: always()
with:
name: native-macos-arm64-evidence
path: |
${{ runner.temp }}/source-memory.json
${{ runner.temp }}/fixed-memory.json
${{ runner.temp }}/mirror.json
${{ runner.temp }}/policy.json
if-no-files-found: warn
|