Skip to repository content100 lines · 4.5 KB · yaml
tenant.openagents/omega
No repository description is available.
OpenAgents Git authority 2026-07-28T03:53:57.342Z Public web read
NIP-34 coordinate
30617:7649603503856e5148d571eac2766b288a8ff1e9e35d380337a1d2b0015b4f92:omegaMaintainersHidden in public view
References2 branches · 1 tag
Read-only clone
git clone https://openagents.com/git/tenant.openagents/omega.gitBrowse files
nix_build.yml
1# Generated from xtask::workflows::nix_build
2# Rebuild with `cargo xtask workflows`.
3name: nix_build
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 build_nix_linux_x86_64:
16 if: (github.repository_owner == 'zed-industries' || github.repository_owner == 'zed-extensions') && ((github.event.action == 'labeled' && (github.event.label.name == 'run-nix' || github.event.label.name == 'run-bundling')) || (github.event.action == 'synchronize' && (contains(github.event.pull_request.labels.*.name, 'run-nix') || contains(github.event.pull_request.labels.*.name, 'run-bundling'))))
17 runs-on: namespace-profile-32x64-ubuntu-2004
18 env:
19 ZED_CLIENT_CHECKSUM_SEED: ${{ secrets.ZED_CLIENT_CHECKSUM_SEED }}
20 ZED_MINIDUMP_ENDPOINT: ${{ secrets.ZED_SENTRY_MINIDUMP_ENDPOINT }}
21 ZED_CLOUD_PROVIDER_ADDITIONAL_MODELS_JSON: ${{ secrets.ZED_CLOUD_PROVIDER_ADDITIONAL_MODELS_JSON }}
22 GIT_LFS_SKIP_SMUDGE: '1'
23 steps:
24 - name: steps::checkout_repo
25 uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
26 with:
27 clean: false
28 - name: steps::cache_nix_dependencies_namespace
29 uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
30 with:
31 cache: nix
32 - name: nix_build::build_nix::install_nix
33 uses: cachix/install-nix-action@02a151ada4993995686f9ed4f1be7cfbb229e56f
34 with:
35 github_access_token: ${{ secrets.GITHUB_TOKEN }}
36 - name: nix_build::build_nix::cachix_action
37 uses: cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad
38 with:
39 name: zed
40 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
41 cachixArgs: -v
42 pushFilter: -zed-editor-[0-9.]*
43 - name: nix_build::build_nix::build
44 run: nix build .#default -L --accept-flake-config
45 timeout-minutes: 60
46 continue-on-error: true
47 build_nix_mac_aarch64:
48 if: (github.repository_owner == 'zed-industries' || github.repository_owner == 'zed-extensions') && ((github.event.action == 'labeled' && (github.event.label.name == 'run-nix' || github.event.label.name == 'run-bundling')) || (github.event.action == 'synchronize' && (contains(github.event.pull_request.labels.*.name, 'run-nix') || contains(github.event.pull_request.labels.*.name, 'run-bundling'))))
49 runs-on: namespace-profile-mac-large
50 env:
51 ZED_CLIENT_CHECKSUM_SEED: ${{ secrets.ZED_CLIENT_CHECKSUM_SEED }}
52 ZED_MINIDUMP_ENDPOINT: ${{ secrets.ZED_SENTRY_MINIDUMP_ENDPOINT }}
53 ZED_CLOUD_PROVIDER_ADDITIONAL_MODELS_JSON: ${{ secrets.ZED_CLOUD_PROVIDER_ADDITIONAL_MODELS_JSON }}
54 GIT_LFS_SKIP_SMUDGE: '1'
55 steps:
56 - name: steps::checkout_repo
57 uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
58 with:
59 clean: false
60 - name: steps::cache_nix_store_macos
61 uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
62 with:
63 path: ~/nix-cache
64 - name: nix_build::build_nix::install_nix
65 uses: cachix/install-nix-action@02a151ada4993995686f9ed4f1be7cfbb229e56f
66 with:
67 github_access_token: ${{ secrets.GITHUB_TOKEN }}
68 - name: nix_build::build_nix::configure_local_nix_cache
69 run: |
70 mkdir -p ~/nix-cache
71 echo "extra-substituters = file://$HOME/nix-cache?priority=10" | sudo tee -a /etc/nix/nix.conf
72 echo "require-sigs = false" | sudo tee -a /etc/nix/nix.conf
73 sudo launchctl kickstart -k system/org.nixos.nix-daemon
74 - name: nix_build::build_nix::cachix_action
75 uses: cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad
76 with:
77 name: zed
78 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
79 cachixArgs: -v
80 pushFilter: -zed-editor-[0-9.]*
81 - name: nix_build::build_nix::build
82 run: nix build .#default -L --accept-flake-config
83 - name: nix_build::build_nix::export_to_local_nix_cache
84 if: always()
85 run: |
86 if [ -L result ]; then
87 echo "Copying build closure to local binary cache..."
88 nix copy --to "file://$HOME/nix-cache" ./result || echo "Warning: nix copy to local cache failed"
89 else
90 echo "No build result found, skipping cache export."
91 fi
92 timeout-minutes: 60
93 continue-on-error: true
94concurrency:
95 group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
96 cancel-in-progress: true
97defaults:
98 run:
99 shell: bash -euxo pipefail {0}
100