Skip to repository content

tenant.openagents/omega

No repository description is available.

OpenAgents Git authority 2026-07-28T02:52:48.516Z Public web read
NIP-34 coordinate30617:7649603503856e5148d571eac2766b288a8ff1e9e35d380337a1d2b0015b4f92:omega
MaintainersHidden in public view
References2 branches · 1 tag
Read-only clonegit clone https://openagents.com/git/tenant.openagents/omega.git
Browse files

run_bundling.yml

373 lines · 15.7 KB · yaml
1# Generated from xtask::workflows::run_bundling
2# Rebuild with `cargo xtask workflows`.
3name: run_bundling
4env:
5  CARGO_TERM_COLOR: always
6  RUST_BACKTRACE: '1'
7on:
8  pull_request:
9    types:
10    - labeled
11    - synchronize
12permissions:
13  contents: read
14jobs:
15  bundle_linux_aarch64:
16    if: |-
17      (github.event.action == 'labeled' && github.event.label.name == 'run-bundling') ||
18      (github.event.action == 'synchronize' && contains(github.event.pull_request.labels.*.name, 'run-bundling'))
19    runs-on: namespace-profile-8x32-ubuntu-2004-arm-m4
20    env:
21      CARGO_INCREMENTAL: 0
22      ZED_CLIENT_CHECKSUM_SEED: ${{ secrets.ZED_CLIENT_CHECKSUM_SEED }}
23      ZED_MINIDUMP_ENDPOINT: ${{ secrets.ZED_SENTRY_MINIDUMP_ENDPOINT }}
24      CC: clang-18
25      CXX: clang++-18
26    steps:
27    - name: steps::checkout_repo
28      uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
29      with:
30        clean: false
31    - name: steps::cache_rust_dependencies_namespace
32      uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
33      with:
34        cache: rust
35        path: ~/.rustup
36    - name: steps::setup_sentry
37      uses: matbour/setup-sentry-cli@3e938c54b3018bdd019973689ef984e033b0454b
38      with:
39        token: ${{ secrets.SENTRY_AUTH_TOKEN }}
40    - name: steps::setup_linux
41      run: ./script/linux
42    - name: steps::download_wasi_sdk
43      run: ./script/download-wasi-sdk
44    - name: ./script/bundle-linux
45      run: ./script/bundle-linux
46    - name: run_bundling::upload_artifact
47      uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
48      with:
49        name: zed-linux-aarch64.tar.gz
50        path: target/release/zed-linux-aarch64.tar.gz
51        if-no-files-found: error
52    - name: run_bundling::upload_artifact
53      uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
54      with:
55        name: zed-remote-server-linux-aarch64.gz
56        path: target/zed-remote-server-linux-aarch64.gz
57        if-no-files-found: error
58    timeout-minutes: 60
59  bundle_linux_x86_64:
60    if: |-
61      (github.event.action == 'labeled' && github.event.label.name == 'run-bundling') ||
62      (github.event.action == 'synchronize' && contains(github.event.pull_request.labels.*.name, 'run-bundling'))
63    runs-on: namespace-profile-32x64-ubuntu-2004
64    env:
65      CARGO_INCREMENTAL: 0
66      ZED_CLIENT_CHECKSUM_SEED: ${{ secrets.ZED_CLIENT_CHECKSUM_SEED }}
67      ZED_MINIDUMP_ENDPOINT: ${{ secrets.ZED_SENTRY_MINIDUMP_ENDPOINT }}
68      CC: clang-18
69      CXX: clang++-18
70    steps:
71    - name: steps::checkout_repo
72      uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
73      with:
74        clean: false
75    - name: steps::cache_rust_dependencies_namespace
76      uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
77      with:
78        cache: rust
79        path: ~/.rustup
80    - name: steps::setup_sentry
81      uses: matbour/setup-sentry-cli@3e938c54b3018bdd019973689ef984e033b0454b
82      with:
83        token: ${{ secrets.SENTRY_AUTH_TOKEN }}
84    - name: steps::setup_linux
85      run: ./script/linux
86    - name: steps::download_wasi_sdk
87      run: ./script/download-wasi-sdk
88    - name: ./script/bundle-linux
89      run: ./script/bundle-linux
90    - name: run_bundling::upload_artifact
91      uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
92      with:
93        name: zed-linux-x86_64.tar.gz
94        path: target/release/zed-linux-x86_64.tar.gz
95        if-no-files-found: error
96    - name: run_bundling::upload_artifact
97      uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
98      with:
99        name: zed-remote-server-linux-x86_64.gz
100        path: target/zed-remote-server-linux-x86_64.gz
101        if-no-files-found: error
102    timeout-minutes: 60
103  build_static_bwrap_linux_aarch64:
104    if: |-
105      (github.event.action == 'labeled' && github.event.label.name == 'run-bundling') ||
106      (github.event.action == 'synchronize' && contains(github.event.pull_request.labels.*.name, 'run-bundling'))
107    runs-on: namespace-profile-8x32-ubuntu-2004-arm-m4
108    steps:
109    - name: steps::cache_nix_dependencies_namespace
110      uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
111      with:
112        cache: nix
113    - name: run_bundling::build_static_bwrap
114      uses: cachix/install-nix-action@02a151ada4993995686f9ed4f1be7cfbb229e56f
115      with:
116        github_access_token: ${{ secrets.GITHUB_TOKEN }}
117    - name: run_bundling::build_static_bwrap
118      uses: cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad
119      with:
120        name: zed
121        authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
122        cachixArgs: -v
123    - name: run_bundling::build_static_bwrap
124      run: nix build nixpkgs#pkgsStatic.bubblewrap -L
125    - name: run_bundling::build_static_bwrap
126      run: |
127        cp result/bin/bwrap bwrap-linux-aarch64
128        chmod 755 bwrap-linux-aarch64
129        gzip -f --stdout --best bwrap-linux-aarch64 > bwrap-linux-aarch64.gz
130    - name: run_bundling::upload_artifact
131      uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
132      with:
133        name: bwrap-linux-aarch64.gz
134        path: bwrap-linux-aarch64.gz
135        if-no-files-found: error
136    timeout-minutes: 60
137  build_static_bwrap_linux_x86_64:
138    if: |-
139      (github.event.action == 'labeled' && github.event.label.name == 'run-bundling') ||
140      (github.event.action == 'synchronize' && contains(github.event.pull_request.labels.*.name, 'run-bundling'))
141    runs-on: namespace-profile-32x64-ubuntu-2004
142    steps:
143    - name: steps::cache_nix_dependencies_namespace
144      uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
145      with:
146        cache: nix
147    - name: run_bundling::build_static_bwrap
148      uses: cachix/install-nix-action@02a151ada4993995686f9ed4f1be7cfbb229e56f
149      with:
150        github_access_token: ${{ secrets.GITHUB_TOKEN }}
151    - name: run_bundling::build_static_bwrap
152      uses: cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad
153      with:
154        name: zed
155        authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
156        cachixArgs: -v
157    - name: run_bundling::build_static_bwrap
158      run: nix build nixpkgs#pkgsStatic.bubblewrap -L
159    - name: run_bundling::build_static_bwrap
160      run: |
161        cp result/bin/bwrap bwrap-linux-x86_64
162        chmod 755 bwrap-linux-x86_64
163        gzip -f --stdout --best bwrap-linux-x86_64 > bwrap-linux-x86_64.gz
164    - name: run_bundling::upload_artifact
165      uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
166      with:
167        name: bwrap-linux-x86_64.gz
168        path: bwrap-linux-x86_64.gz
169        if-no-files-found: error
170    timeout-minutes: 60
171  bundle_mac_aarch64:
172    if: |-
173      (github.event.action == 'labeled' && github.event.label.name == 'run-bundling') ||
174      (github.event.action == 'synchronize' && contains(github.event.pull_request.labels.*.name, 'run-bundling'))
175    runs-on: namespace-profile-mac-large
176    env:
177      CARGO_INCREMENTAL: 0
178      ZED_CLIENT_CHECKSUM_SEED: ${{ secrets.ZED_CLIENT_CHECKSUM_SEED }}
179      ZED_MINIDUMP_ENDPOINT: ${{ secrets.ZED_SENTRY_MINIDUMP_ENDPOINT }}
180      MACOS_CERTIFICATE: ${{ secrets.MACOS_CERTIFICATE }}
181      MACOS_CERTIFICATE_PASSWORD: ${{ secrets.MACOS_CERTIFICATE_PASSWORD }}
182      APPLE_NOTARIZATION_KEY: ${{ secrets.APPLE_NOTARIZATION_KEY }}
183      APPLE_NOTARIZATION_KEY_ID: ${{ secrets.APPLE_NOTARIZATION_KEY_ID }}
184      APPLE_NOTARIZATION_ISSUER_ID: ${{ secrets.APPLE_NOTARIZATION_ISSUER_ID }}
185    steps:
186    - name: steps::checkout_repo
187      uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
188      with:
189        clean: false
190    - name: steps::cache_rust_dependencies_namespace
191      uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
192      with:
193        cache: rust
194        path: ~/.rustup
195    - name: steps::setup_node
196      uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
197      with:
198        node-version: '24'
199        check-latest: true
200        package-manager-cache: false
201    - name: steps::setup_sentry
202      uses: matbour/setup-sentry-cli@3e938c54b3018bdd019973689ef984e033b0454b
203      with:
204        token: ${{ secrets.SENTRY_AUTH_TOKEN }}
205    - name: steps::clear_target_dir_if_large
206      run: ./script/clear-target-dir-if-larger-than 350 200
207    - name: run_bundling::bundle_mac::bundle_mac
208      run: ./script/bundle-mac aarch64-apple-darwin
209    - name: run_bundling::upload_artifact
210      uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
211      with:
212        name: Zed-aarch64.dmg
213        path: target/aarch64-apple-darwin/release/Zed-aarch64.dmg
214        if-no-files-found: error
215    - name: run_bundling::upload_artifact
216      uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
217      with:
218        name: zed-remote-server-macos-aarch64.gz
219        path: target/zed-remote-server-macos-aarch64.gz
220        if-no-files-found: error
221    timeout-minutes: 60
222  bundle_mac_x86_64:
223    if: |-
224      (github.event.action == 'labeled' && github.event.label.name == 'run-bundling') ||
225      (github.event.action == 'synchronize' && contains(github.event.pull_request.labels.*.name, 'run-bundling'))
226    runs-on: namespace-profile-mac-large
227    env:
228      CARGO_INCREMENTAL: 0
229      ZED_CLIENT_CHECKSUM_SEED: ${{ secrets.ZED_CLIENT_CHECKSUM_SEED }}
230      ZED_MINIDUMP_ENDPOINT: ${{ secrets.ZED_SENTRY_MINIDUMP_ENDPOINT }}
231      MACOS_CERTIFICATE: ${{ secrets.MACOS_CERTIFICATE }}
232      MACOS_CERTIFICATE_PASSWORD: ${{ secrets.MACOS_CERTIFICATE_PASSWORD }}
233      APPLE_NOTARIZATION_KEY: ${{ secrets.APPLE_NOTARIZATION_KEY }}
234      APPLE_NOTARIZATION_KEY_ID: ${{ secrets.APPLE_NOTARIZATION_KEY_ID }}
235      APPLE_NOTARIZATION_ISSUER_ID: ${{ secrets.APPLE_NOTARIZATION_ISSUER_ID }}
236    steps:
237    - name: steps::checkout_repo
238      uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
239      with:
240        clean: false
241    - name: steps::cache_rust_dependencies_namespace
242      uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
243      with:
244        cache: rust
245        path: ~/.rustup
246    - name: steps::setup_node
247      uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
248      with:
249        node-version: '24'
250        check-latest: true
251        package-manager-cache: false
252    - name: steps::setup_sentry
253      uses: matbour/setup-sentry-cli@3e938c54b3018bdd019973689ef984e033b0454b
254      with:
255        token: ${{ secrets.SENTRY_AUTH_TOKEN }}
256    - name: steps::clear_target_dir_if_large
257      run: ./script/clear-target-dir-if-larger-than 350 200
258    - name: run_bundling::bundle_mac::bundle_mac
259      run: ./script/bundle-mac x86_64-apple-darwin
260    - name: run_bundling::upload_artifact
261      uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
262      with:
263        name: Zed-x86_64.dmg
264        path: target/x86_64-apple-darwin/release/Zed-x86_64.dmg
265        if-no-files-found: error
266    - name: run_bundling::upload_artifact
267      uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
268      with:
269        name: zed-remote-server-macos-x86_64.gz
270        path: target/zed-remote-server-macos-x86_64.gz
271        if-no-files-found: error
272    timeout-minutes: 60
273  bundle_windows_aarch64:
274    if: |-
275      (github.event.action == 'labeled' && github.event.label.name == 'run-bundling') ||
276      (github.event.action == 'synchronize' && contains(github.event.pull_request.labels.*.name, 'run-bundling'))
277    runs-on: self-32vcpu-windows-2022
278    env:
279      CARGO_INCREMENTAL: 0
280      ZED_CLIENT_CHECKSUM_SEED: ${{ secrets.ZED_CLIENT_CHECKSUM_SEED }}
281      ZED_MINIDUMP_ENDPOINT: ${{ secrets.ZED_SENTRY_MINIDUMP_ENDPOINT }}
282      AZURE_TENANT_ID: ${{ secrets.AZURE_SIGNING_TENANT_ID }}
283      AZURE_CLIENT_ID: ${{ secrets.AZURE_SIGNING_CLIENT_ID }}
284      AZURE_CLIENT_SECRET: ${{ secrets.AZURE_SIGNING_CLIENT_SECRET }}
285      ACCOUNT_NAME: ${{ vars.AZURE_SIGNING_ACCOUNT_NAME }}
286      CERT_PROFILE_NAME: ${{ vars.AZURE_SIGNING_CERT_PROFILE_NAME }}
287      ENDPOINT: ${{ vars.AZURE_SIGNING_ENDPOINT }}
288      FILE_DIGEST: SHA256
289      TIMESTAMP_DIGEST: SHA256
290      TIMESTAMP_SERVER: http://timestamp.acs.microsoft.com
291    steps:
292    - name: steps::checkout_repo
293      uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
294      with:
295        clean: false
296    - name: steps::setup_sentry
297      uses: matbour/setup-sentry-cli@3e938c54b3018bdd019973689ef984e033b0454b
298      with:
299        token: ${{ secrets.SENTRY_AUTH_TOKEN }}
300    - name: steps::clear_target_dir_if_large
301      run: ./script/clear-target-dir-if-larger-than.ps1 350 200
302      shell: pwsh
303    - name: run_bundling::bundle_windows::bundle_windows
304      run: script/bundle-windows.ps1 -Architecture aarch64
305      shell: pwsh
306      working-directory: ${{ env.ZED_WORKSPACE }}
307    - name: run_bundling::upload_artifact
308      uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
309      with:
310        name: Zed-aarch64.exe
311        path: target/Zed-aarch64.exe
312        if-no-files-found: error
313    - name: run_bundling::upload_artifact
314      uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
315      with:
316        name: zed-remote-server-windows-aarch64.zip
317        path: target/zed-remote-server-windows-aarch64.zip
318        if-no-files-found: error
319    timeout-minutes: 60
320  bundle_windows_x86_64:
321    if: |-
322      (github.event.action == 'labeled' && github.event.label.name == 'run-bundling') ||
323      (github.event.action == 'synchronize' && contains(github.event.pull_request.labels.*.name, 'run-bundling'))
324    runs-on: self-32vcpu-windows-2022
325    env:
326      CARGO_INCREMENTAL: 0
327      ZED_CLIENT_CHECKSUM_SEED: ${{ secrets.ZED_CLIENT_CHECKSUM_SEED }}
328      ZED_MINIDUMP_ENDPOINT: ${{ secrets.ZED_SENTRY_MINIDUMP_ENDPOINT }}
329      AZURE_TENANT_ID: ${{ secrets.AZURE_SIGNING_TENANT_ID }}
330      AZURE_CLIENT_ID: ${{ secrets.AZURE_SIGNING_CLIENT_ID }}
331      AZURE_CLIENT_SECRET: ${{ secrets.AZURE_SIGNING_CLIENT_SECRET }}
332      ACCOUNT_NAME: ${{ vars.AZURE_SIGNING_ACCOUNT_NAME }}
333      CERT_PROFILE_NAME: ${{ vars.AZURE_SIGNING_CERT_PROFILE_NAME }}
334      ENDPOINT: ${{ vars.AZURE_SIGNING_ENDPOINT }}
335      FILE_DIGEST: SHA256
336      TIMESTAMP_DIGEST: SHA256
337      TIMESTAMP_SERVER: http://timestamp.acs.microsoft.com
338    steps:
339    - name: steps::checkout_repo
340      uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
341      with:
342        clean: false
343    - name: steps::setup_sentry
344      uses: matbour/setup-sentry-cli@3e938c54b3018bdd019973689ef984e033b0454b
345      with:
346        token: ${{ secrets.SENTRY_AUTH_TOKEN }}
347    - name: steps::clear_target_dir_if_large
348      run: ./script/clear-target-dir-if-larger-than.ps1 350 200
349      shell: pwsh
350    - name: run_bundling::bundle_windows::bundle_windows
351      run: script/bundle-windows.ps1 -Architecture x86_64
352      shell: pwsh
353      working-directory: ${{ env.ZED_WORKSPACE }}
354    - name: run_bundling::upload_artifact
355      uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
356      with:
357        name: Zed-x86_64.exe
358        path: target/Zed-x86_64.exe
359        if-no-files-found: error
360    - name: run_bundling::upload_artifact
361      uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
362      with:
363        name: zed-remote-server-windows-x86_64.zip
364        path: target/zed-remote-server-windows-x86_64.zip
365        if-no-files-found: error
366    timeout-minutes: 60
367concurrency:
368  group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
369  cancel-in-progress: true
370defaults:
371  run:
372    shell: bash -euxo pipefail {0}
373
Served at tenant.openagents/omega Member data and write actions are omitted.