From b1ce1927022d374198441afafeb27199fc8a052a Mon Sep 17 00:00:00 2001 From: eunhhu Date: Thu, 24 Sep 2026 17:14:54 +0100 Subject: Establish native micro runtime checkpoint --- .github/workflows/native-macos-arm64.yml | 55 ++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 .github/workflows/native-macos-arm64.yml (limited to '.github/workflows') diff --git a/.github/workflows/native-macos-arm64.yml b/.github/workflows/native-macos-arm64.yml new file mode 100644 index 0000000..7d46d6a --- /dev/null +++ b/.github/workflows/native-macos-arm64.yml @@ -0,0 +1,55 @@ +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 + - 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 + 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: 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 -- cgit v1.2.3