mirror of
https://github.com/openai/codex.git
synced 2026-09-15 12:08:01 +00:00
WIP
This commit is contained in:
12
.github/dotslash-config.json
vendored
12
.github/dotslash-config.json
vendored
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
17
.github/workflows/rust-release.yml
vendored
17
.github/workflows/rust-release.yml
vendored
@@ -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' }}
|
||||
|
||||
Reference in New Issue
Block a user