Disable nix nightly builds (#29624)
Until we land #28128, we're disabling the nightly nix builds so they're not constantly failing. Release Notes: - N/A
This commit is contained in:
parent
24e47de02a
commit
f7a3e00074
49
.github/workflows/release_nightly.yml
vendored
49
.github/workflows/release_nightly.yml
vendored
@ -170,55 +170,6 @@ jobs:
|
|||||||
- name: Upload Zed Nightly
|
- name: Upload Zed Nightly
|
||||||
run: script/upload-nightly linux-targz
|
run: script/upload-nightly linux-targz
|
||||||
|
|
||||||
bundle-nix:
|
|
||||||
timeout-minutes: 60
|
|
||||||
name: (${{ matrix.system.os }}) Nix Build
|
|
||||||
continue-on-error: true
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
system:
|
|
||||||
- os: x86 Linux
|
|
||||||
runner: buildjet-16vcpu-ubuntu-2204
|
|
||||||
install_nix: true
|
|
||||||
- os: arm Mac
|
|
||||||
runner: [macOS, ARM64, test]
|
|
||||||
install_nix: false
|
|
||||||
if: github.repository_owner == 'zed-industries'
|
|
||||||
runs-on: ${{ matrix.system.runner }}
|
|
||||||
needs: tests
|
|
||||||
env:
|
|
||||||
ZED_CLIENT_CHECKSUM_SEED: ${{ secrets.ZED_CLIENT_CHECKSUM_SEED }}
|
|
||||||
ZED_CLOUD_PROVIDER_ADDITIONAL_MODELS_JSON: ${{ secrets.ZED_CLOUD_PROVIDER_ADDITIONAL_MODELS_JSON }}
|
|
||||||
GIT_LFS_SKIP_SMUDGE: 1 # breaks the livekit rust sdk examples which we don't actually depend on
|
|
||||||
steps:
|
|
||||||
- name: Checkout repo
|
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
|
||||||
with:
|
|
||||||
clean: false
|
|
||||||
|
|
||||||
# on our macs we manually install nix. for some reason the cachix action is running
|
|
||||||
# under a non-login /bin/bash shell which doesn't source the proper script to add the
|
|
||||||
# nix profile to PATH, so we manually add them here
|
|
||||||
- name: Set path
|
|
||||||
if: ${{ ! matrix.system.install_nix }}
|
|
||||||
run: |
|
|
||||||
echo "/nix/var/nix/profiles/default/bin" >> $GITHUB_PATH
|
|
||||||
echo "/Users/administrator/.nix-profile/bin" >> $GITHUB_PATH
|
|
||||||
|
|
||||||
- uses: cachix/install-nix-action@d1ca217b388ee87b2507a9a93bf01368bde7cec2 # v31
|
|
||||||
if: ${{ matrix.system.install_nix }}
|
|
||||||
with:
|
|
||||||
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
- uses: cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad # v16
|
|
||||||
with:
|
|
||||||
name: zed-industries
|
|
||||||
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
|
||||||
- run: nix build
|
|
||||||
- name: Limit /nix/store to 50GB
|
|
||||||
run: '[ $(du -sm /nix/store | cut -f1) -gt 50000 ] && nix-collect-garbage -d'
|
|
||||||
|
|
||||||
update-nightly-tag:
|
update-nightly-tag:
|
||||||
name: Update nightly tag
|
name: Update nightly tag
|
||||||
if: github.repository_owner == 'zed-industries'
|
if: github.repository_owner == 'zed-industries'
|
||||||
|
Loading…
Reference in New Issue
Block a user