File tree 1 file changed +38
-0
lines changed
1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Rust CI
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ pull_request :
8
+ branches :
9
+ - master
10
+ merge_group :
11
+
12
+ jobs :
13
+ build :
14
+ name : Rust Integration CI LLVM ${{ matrix.llvm }} ${{ matrix.build }} ${{ matrix.os }}
15
+ runs-on : ${{ matrix.os }}
16
+
17
+ strategy :
18
+ fail-fast : false
19
+ matrix :
20
+ os : [openstack22]
21
+
22
+ timeout-minutes : 600
23
+ steps :
24
+ - name : checkout the source code
25
+ uses : actions/checkout@v3
26
+ with :
27
+ fetch-depth : 2
28
+ - name : build
29
+ run : |
30
+ mkdir build
31
+ cd build
32
+ ../configure --enable-llvm-link-shared --enable-llvm-plugins --enable-llvm-enzyme --release-channel=nightly --enable-llvm-assertions --enable-lld --enable-option-checking --enable-ninja --disable-docs
33
+ ../x.py build --stage 1 library/std library/proc_macro library/test tools/rustdoc
34
+ rustup toolchain link enzyme `pwd`/build/`rustup target list --installed`/stage1
35
+ rustup toolchain install nightly # enables -Z unstable-options
36
+ - name : test
37
+ run : |
38
+ cargo +enzyme test --examples
You can’t perform that action at this time.
0 commit comments