This commit is contained in:
Javier Soto
2025-11-03 11:33:17 -08:00
parent 84a3cddc76
commit 11028280dc
16 changed files with 722 additions and 39 deletions

View File

@@ -55,6 +55,18 @@
"path": "codex-responses-api-proxy.exe"
}
}
},
"codex-notifier": {
"platforms": {
"macos-aarch64": {
"regex": "^codex-notifier-aarch64-apple-darwin\\.zst$",
"path": "codex-notifier"
},
"macos-x86_64": {
"regex": "^codex-notifier-x86_64-apple-darwin\\.zst$",
"path": "codex-notifier"
}
}
}
}
}

View File

@@ -100,6 +100,10 @@ jobs:
- name: Cargo build
run: cargo build --target ${{ matrix.target }} --release --bin codex --bin codex-responses-api-proxy
- if: ${{ matrix.runner == 'macos-15-xlarge' }}
name: Build notifier helper
run: cargo build --target ${{ matrix.target }} --release -p codex-notifier
- if: ${{ matrix.runner == 'macos-15-xlarge' }}
name: Configure Apple code signing
shell: bash
@@ -201,7 +205,12 @@ jobs:
keychain_args+=(--keychain "${APPLE_CODESIGN_KEYCHAIN}")
fi
for binary in codex codex-responses-api-proxy; do
binaries=(codex codex-responses-api-proxy)
if [[ -f "target/${{ matrix.target }}/release/codex-notifier" ]]; then
binaries+=(codex-notifier)
fi
for binary in "${binaries[@]}"; do
path="target/${{ matrix.target }}/release/${binary}"
codesign --force --options runtime --timestamp --sign "$APPLE_CODESIGN_IDENTITY" "${keychain_args[@]}" "$path"
done
@@ -268,6 +277,9 @@ jobs:
notarize_binary "codex"
notarize_binary "codex-responses-api-proxy"
if [[ -f "target/${{ matrix.target }}/release/codex-notifier" ]]; then
notarize_binary "codex-notifier"
fi
- name: Stage artifacts
shell: bash
@@ -281,6 +293,9 @@ jobs:
else
cp target/${{ matrix.target }}/release/codex "$dest/codex-${{ matrix.target }}"
cp target/${{ matrix.target }}/release/codex-responses-api-proxy "$dest/codex-responses-api-proxy-${{ matrix.target }}"
if [[ -f target/${{ matrix.target }}/release/codex-notifier ]]; then
cp target/${{ matrix.target }}/release/codex-notifier "$dest/codex-notifier-${{ matrix.target }}"
fi
fi
- if: ${{ matrix.runner == 'windows-11-arm' }}