File tree 3 files changed +23
-14
lines changed
3 files changed +23
-14
lines changed Original file line number Diff line number Diff line change 19
19
fail-fast : false
20
20
matrix :
21
21
libgccjit_version :
22
- - { gcc: "libgccjit.so", artifacts_branch: "master " }
23
- - { gcc: "libgccjit_without_int128.so", artifacts_branch: "master -without-128bit-integers " }
22
+ - { gcc: "gcc-13.deb " }
23
+ - { gcc: "gcc -without-int128-13.deb " }
24
24
commands : [
25
25
" --mini-tests" ,
26
26
" --std-tests" ,
@@ -49,10 +49,19 @@ jobs:
49
49
# `llvm-14-tools` is needed to install the `FileCheck` binary which is used for asm tests.
50
50
run : sudo apt-get install ninja-build ripgrep llvm-14-tools
51
51
52
+ - name : Download artifact
53
+ run : curl -LO https://github.com/antoyo/gcc/releases/latest/download/${{ matrix.libgccjit_version.gcc }}
54
+
55
+ - name : Setup path to libgccjit
56
+ run : |
57
+ sudo dpkg --force-overwrite -i gcc-13.deb
58
+ echo 'gcc-path = "/usr/lib/"' > config.toml
59
+
52
60
- name : Set env
53
61
run : |
54
62
echo "workspace="$GITHUB_WORKSPACE >> $GITHUB_ENV
55
- echo 'download-gccjit = true' > config.toml
63
+ echo "LIBRARY_PATH=/usr/lib" >> $GITHUB_ENV
64
+ echo "LD_LIBRARY_PATH=/usr/lib" >> $GITHUB_ENV
56
65
57
66
# - name: Cache rust repository
58
67
# # We only clone the rust repository for rustc tests
Original file line number Diff line number Diff line change @@ -50,24 +50,24 @@ jobs:
50
50
sudo ln -s /usr/share/intel-sde/sde /usr/bin/sde
51
51
sudo ln -s /usr/share/intel-sde/sde64 /usr/bin/sde64
52
52
53
- - name : Download artifact
54
- run : curl -LO https://github.com/antoyo/gcc/releases/latest/download/gcc-13.deb
55
-
56
- - name : Setup path to libgccjit
57
- run : |
58
- sudo dpkg --force-overwrite -i gcc-13.deb
59
- echo 'gcc-path = "/usr/lib/"' > config.toml
60
-
61
53
- name : Set env
62
54
run : |
63
55
echo "workspace="$GITHUB_WORKSPACE >> $GITHUB_ENV
64
- echo "LIBRARY_PATH=/usr/lib" >> $GITHUB_ENV
65
- echo "LD_LIBRARY_PATH=/usr/lib" >> $GITHUB_ENV
56
+ echo 'download-gccjit = true' > config.toml
66
57
67
58
- name : Build
68
59
run : |
69
60
./y.sh prepare --only-libcore
70
61
./y.sh build --release --release-sysroot
62
+
63
+ - name : Set env (part 2)
64
+ run : |
65
+ # Set the `LD_LIBRARY_PATH` and `LIBRARY_PATH` env variables...
66
+ echo "LD_LIBRARY_PATH="$(./y.sh info | grep -v Using) >> $GITHUB_ENV
67
+ echo "LIBRARY_PATH="$(./y.sh info | grep -v Using) >> $GITHUB_ENV
68
+
69
+ - name : Build (part 2)
70
+ run : |
71
71
cargo test
72
72
73
73
- name : Clean
Original file line number Diff line number Diff line change 1
- 89a92e561
1
+ cdd897840
You can’t perform that action at this time.
0 commit comments