diff --git a/.github/workflows/upload-native-runtime.yml b/.github/workflows/upload-native-runtime.yml new file mode 100644 index 0000000..ef88ab6 --- /dev/null +++ b/.github/workflows/upload-native-runtime.yml @@ -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