Skip to content

Commit

Permalink
[TMP]
Browse files Browse the repository at this point in the history
  • Loading branch information
krendelhoff2 committed Oct 9, 2024
1 parent 0248c35 commit a9f0d3d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 22 deletions.
41 changes: 20 additions & 21 deletions .buildkite/pipeline-raw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,34 +42,33 @@ steps:
agents:
queue: "x86_64-rosetta-darwin"
commands:
- rm -rf /Users/serokell/Library/Caches/Homebrew/downloads/b3050b8d1d2bbd786c485462d44befe07e66eb214a3b8a7da232afd40209160d--protobuf-28.2.tar.gz
- nix develop .#autorelease-macos -c ./scripts/build-all-bottles.sh "monterey"
- nix develop .#autorelease-macos -c ./scripts/build-one-bottle.sh tezos-node
artifact_paths:
- '*.bottle.*'
retry:
automatic:
limit: 1

- label: Build Monterey arm64 bottles
key: build-bottles-monterey-arm64
agents:
queue: "arm64-darwin"
commands:
- nix develop .#autorelease-macos -c ./scripts/build-all-bottles.sh "arm64_monterey"
artifact_paths:
- '*.bottle.*'
retry:
automatic:
limit: 1
# - label: Build Monterey arm64 bottles
# key: build-bottles-monterey-arm64
# agents:
# queue: "arm64-darwin"
# commands:
# - nix develop .#autorelease-macos -c ./scripts/build-all-bottles.sh "arm64_monterey"
# artifact_paths:
# - '*.bottle.*'
# retry:
# automatic:
# limit: 1

# We use the tag that triggered the pipeline here.
# However, this requires that the tag and the release name are the same, which
# in practice it's always the case in this repo.
- label: Add Monterey bottle hashes to formulae
depends_on:
- "build-bottles-monterey-arm64"
- "build-bottles-monterey-x86_64"
commands:
- mkdir -p "Monterey"
- nix develop .#buildkite -c gh release download "v20.3-1" -D "Monterey/" -p "*monterey.bottle.tar.gz"
- nix develop .#autorelease -c ./scripts/sync-bottle-hashes.sh "v20.3-1" "Monterey"
# - label: Add Monterey bottle hashes to formulae
# depends_on:
# - "build-bottles-monterey-arm64"
# - "build-bottles-monterey-x86_64"
# commands:
# - mkdir -p "Monterey"
# - nix develop .#buildkite -c gh release download "v20.3-1" -D "Monterey/" -p "*monterey.bottle.tar.gz"
# - nix develop .#autorelease -c ./scripts/sync-bottle-hashes.sh "v20.3-1" "Monterey"
2 changes: 1 addition & 1 deletion Formula/tezos-node.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def make_deps
ENV["LDFLAGS"] = "-L#{HOMEBREW_PREFIX}/lib"
# Here is the workaround to use opam 2.0.9 because Tezos is currently not compatible with opam 2.1.0 and newer
arch = RUBY_PLATFORM.include?("arm64") ? "arm64" : "x86_64"
system "rustup-init", "--default-toolchain", "1.71.1", "-y"
system "rustup-init", "--default-toolchain", "1.78.0", "-y"
system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing"
system ["source .cargo/env", "make build-deps"].join(" && ")
end
Expand Down

0 comments on commit a9f0d3d

Please sign in to comment.