7
7
merge_group :
8
8
types : [checks_requested]
9
9
10
+ env :
11
+ CAIRO_NATIVE_REF : 6a4efafa26d6a0424dee593d2091206c6e9f428d
12
+
10
13
concurrency :
11
14
group : ${{ github.workflow }}-${{ github.ref }}
12
15
cancel-in-progress : ${{ github.ref != 'refs/heads/main' }}
19
22
MLIR_SYS_190_PREFIX : /usr/lib/llvm-19/
20
23
LLVM_SYS_191_PREFIX : /usr/lib/llvm-19/
21
24
TABLEGEN_190_PREFIX : /usr/lib/llvm-19/
22
- CAIRO_NATIVE_RUNTIME_LIBRARY : libcairo_native_runtime.a
23
25
steps :
24
26
- uses : actions/checkout@v4
25
27
@@ -103,7 +105,7 @@ jobs:
103
105
- name : Install LLVM
104
106
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
105
107
- name : Machete
106
- uses : bnjbvr/cargo-machete@main
108
+ uses : bnjbvr/cargo-machete@v0.7.0
107
109
108
110
test :
109
111
name : test (linux, amd64)
@@ -153,7 +155,7 @@ jobs:
153
155
uses : actions/checkout@v4
154
156
with :
155
157
repository : lambdaclass/cairo_native
156
- ref : 76e83965d3bf1252eb6c68200a3accd5fd1ec004
158
+ ref : ${{ env.CAIRO_NATIVE_REF }}
157
159
path : cairo_native
158
160
- name : Build Cairo Native Runtime Library
159
161
shell : bash
@@ -162,7 +164,7 @@ jobs:
162
164
make runtime
163
165
echo "CAIRO_NATIVE_RUNTIME_LIBRARY=$(pwd)/libcairo_native_runtime.a" > $GITHUB_ENV
164
166
- name : Test
165
- run : cargo test --all-features
167
+ run : cargo test
166
168
167
169
test_macos :
168
170
name : Test (macOS, Apple silicon)
@@ -190,12 +192,12 @@ jobs:
190
192
uses : actions/checkout@v4
191
193
with :
192
194
repository : lambdaclass/cairo_native
193
- ref : 76e83965d3bf1252eb6c68200a3accd5fd1ec004
195
+ ref : ${{ env.CAIRO_NATIVE_REF }}
194
196
path : cairo_native
195
197
- name : Build Cairo Native Runtime Library
196
198
run : |
197
199
cd cairo_native
198
200
make runtime
199
201
echo "CAIRO_NATIVE_RUNTIME_LIBRARY=$(pwd)/libcairo_native_runtime.a" > $GITHUB_ENV
200
202
- name : Test
201
- run : cargo test --all-features
203
+ run : cargo test
0 commit comments