Skip to content

Fix CI (#814)

Fix CI (#814) #2

Workflow file for this run

name: Release
permissions:
contents: write
discussions: write
on:
push:
tags:
- "v*.*.*"
jobs:
release:
runs-on: ubuntu-latest
env:
MLIR_SYS_190_PREFIX: /usr/lib/llvm-19/
LLVM_SYS_191_PREFIX: /usr/lib/llvm-19/
TABLEGEN_190_PREFIX: /usr/lib/llvm-19/
steps:
- name: Checkout
uses: actions/checkout@v3
- name: free HDD space
run: |
# deleting space
sudo rm -rf /usr/share/dotnet/
sudo rm -rf /usr/local/lib/android
- name: Setup rust env
uses: dtolnay/[email protected]
- name: Retreive cached dependecies
uses: Swatinem/rust-cache@v2
- name: add llvm deb repository
uses: myci-actions/add-deb-repo@11
with:
repo: deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-19 main
repo-name: llvm-repo
keys-asc: https://apt.llvm.org/llvm-snapshot.gpg.key
- name: Install LLVM
run: sudo apt-get install llvm-19 llvm-19-dev llvm-19-runtime clang-19 clang-tools-19 lld-19 libpolly-19-dev libmlir-19-dev mlir-19-tools
- name: build release
run: make build
- name: Release
uses: softprops/action-gh-release@v2
with:
files: |
target/release/cairo-native-test
target/release/scarb-native-test
target/release/cairo-native-compile
target/release/cairo-native-dump
target/release/cairo-native-run
target/release/scarb-native-test
target/release/scarb-native-dump
target/release/libcairo_native_runtime.a