-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8011f19
commit dc06cf6
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |