Skip to content

Commit

Permalink
Add upload native runtime workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianGCalderon committed Jul 1, 2024
1 parent 8011f19 commit dc06cf6
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/upload-native-runtime.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Upload Native Runtime

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Add llvm deb repo
uses: myci-actions/add-deb-repo@10
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 deps
shell: bash
run: |
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 install -y libgmp3-dev
- name: Checkout cairo_native
uses: actions/checkout@v4
with:
repository: lambdaclass/cairo_native
ref: 66e9b5e053faf3b2a9129de5b15205d1cfe686eb
- name: Build Cairo Native Runtime Library
shell: bash
run: make runtime
- name: Upload Cairo Native Runtime Library
uses: actions/upload-artifact@v4
with:
name: cairo_native_runtime_library
path: libcairo_native_runtime.a

0 comments on commit dc06cf6

Please sign in to comment.