diff --git a/.github/actions/setup-native-deps/action.yml b/.github/actions/setup-native-deps/action.yml deleted file mode 100644 index ba9af9237a..0000000000 --- a/.github/actions/setup-native-deps/action.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: "Setup Cairo Native Dependencies" -description: "Sets up LLVM and GMP libraries" - -outputs: - cairo-native-runtime-library: - description: "The path to the cairo native runtime library" - value: ${{ steps.set-env-vars.outputs.cairo-native-runtime-library }} - -runs: - using: "composite" - steps: - - name: Add llvm deb repository - uses: myci-actions/add-deb-repo@11 - with: - repo: deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main - repo-name: llvm-repo - keys-asc: https://apt.llvm.org/llvm-snapshot.gpg.key - - - name: Install LLVM and gmplib - shell: bash - run: | - sudo apt-get update - sudo apt-get install llvm-18 llvm-18-dev llvm-18-runtime clang-18 clang-tools-18 lld-18 libpolly-18-dev libmlir-18-dev mlir-18-tools - sudo apt-get install -y libgmp3-dev - - - name: Fetch Cairo Native Repository - uses: actions/checkout@v3 - with: - repository: "lambdaclass/cairo_native" - ref: "2be717cba74c63628cb68b619ff2022c70d0cdd2" - path: "cairo_native" - - - name: Install Cairo Native Runtime Dependencies - id: set-runtime-deps - shell: bash - run: | - cd ./cairo_native && - echo "cairo-native-runtime-library=$(pwd)/target/release/libcairo_native_runtime.a" >> $GITHUB_OUTPUT && - echo "CAIRO_NATIVE_RUNTIME_LIBRARY=$(pwd)/target/release/libcairo_native_runtime.a" >> $GITHUB_ENV && - echo "MLIR_SYS_180_PREFIX=/usr/lib/llvm-18/" >> $GITHUB_ENV && - echo "LLVM_SYS_181_PREFIX=/usr/lib/llvm-18/" >> $GITHUB_ENV && - echo "TABLEGEN_180_PREFIX=/usr/lib/llvm-18/" >> $GITHUB_ENV && - cd ./runtime && - cargo build --release diff --git a/.github/workflows/blockifier_compiled_cairo.yml b/.github/workflows/blockifier_compiled_cairo.yml index 7f42be23c1..3eece383bc 100644 --- a/.github/workflows/blockifier_compiled_cairo.yml +++ b/.github/workflows/blockifier_compiled_cairo.yml @@ -38,11 +38,6 @@ jobs: steps: - uses: actions/checkout@v4 - uses: ./.github/actions/bootstrap - - - name: Set up Native Dependencies - uses: ./.github/actions/setup-native-deps - id: native-deps - # Setup pypy and link to the location expected by .cargo/config.toml. - uses: actions/setup-python@v5 id: setup-pypy diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0706f14f87..cc5aa67b53 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -56,12 +56,6 @@ jobs: version: "0.9.0" locked: true components: clippy - - name: Set up Native Dependencies - uses: ./.github/actions/setup-native-deps - id: native-deps - - uses: Swatinem/rust-cache@v2 - with: - prefix-key: "v0-rust-ubuntu-20.04" # Setup pypy and link to the location expected by .cargo/config.toml. - uses: actions/setup-python@v5