Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
Gilad Chase committed Dec 19, 2024
1 parent d653a24 commit b9347f4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/actions/bootstrap/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ runs:
shell: bash
- name: Install rust.
uses: ./.github/actions/install_rust
with:
extratoolchains: nightly-2024-04-29
- name: Install cairo native.
uses: ./.github/actions/setup_native_deps
11 changes: 9 additions & 2 deletions .github/actions/install_rust/action.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
name: Bootsrap rust installation
name: Bootstrap rust installation
description: Setup rust environment and its components, also caching the build results.

inputs:
extratoolchains:
description: "Extra toolchains to install, but aren't used by default"
required: false
default: nightly-2024-04-29

runs:
using: "composite"
steps:
# Install additional non-default toolchains (for rustfmt for example)
- uses: moonrepo/setup-rust@v1
with:
cache-base: main(-v[0-9].*)?
inherit-toolchain: true
bins: taplo-cli@0.9.0, cargo-machete
channel: nightly-2024-04-29 # Just install for rustfmt, rust-toolchain.toml overrides it.
channel: ${{ env.INPUT_EXTRATOOLCHAINS }}
env:
RUSTFLAGS: "-C link-arg=-fuse-ld=lld"

0 comments on commit b9347f4

Please sign in to comment.