Update CI scripts to work with config.toml
This commit is contained in:
parent
2640b316e2
commit
0b2402fdfc
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -55,13 +55,13 @@ jobs:
|
|||||||
- name: Setup path to libgccjit
|
- name: Setup path to libgccjit
|
||||||
run: |
|
run: |
|
||||||
sudo dpkg --force-overwrite -i gcc-13.deb
|
sudo dpkg --force-overwrite -i gcc-13.deb
|
||||||
echo /usr/lib/ > gcc_path
|
echo 'gcc-path = "/usr/lib/"' > config.toml
|
||||||
|
|
||||||
- name: Set env
|
- name: Set env
|
||||||
run: |
|
run: |
|
||||||
echo "LIBRARY_PATH=$(cat gcc_path)" >> $GITHUB_ENV
|
|
||||||
echo "LD_LIBRARY_PATH=$(cat gcc_path)" >> $GITHUB_ENV
|
|
||||||
echo "workspace="$GITHUB_WORKSPACE >> $GITHUB_ENV
|
echo "workspace="$GITHUB_WORKSPACE >> $GITHUB_ENV
|
||||||
|
echo "LIBRARY_PATH=/usr/lib" >> $GITHUB_ENV
|
||||||
|
echo "LD_LIBRARY_PATH=/usr/lib" >> $GITHUB_ENV
|
||||||
|
|
||||||
#- name: Cache rust repository
|
#- name: Cache rust repository
|
||||||
## We only clone the rust repository for rustc tests
|
## We only clone the rust repository for rustc tests
|
||||||
|
11
.github/workflows/failures.yml
vendored
11
.github/workflows/failures.yml
vendored
@ -52,7 +52,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Setup path to libgccjit
|
- name: Setup path to libgccjit
|
||||||
if: matrix.libgccjit_version.gcc == 'libgccjit12.so'
|
if: matrix.libgccjit_version.gcc == 'libgccjit12.so'
|
||||||
run: echo /usr/lib/gcc/x86_64-linux-gnu/12 > gcc_path
|
run: |
|
||||||
|
echo 'gcc-path = "/usr/lib/gcc/x86_64-linux-gnu/12"' > config.toml
|
||||||
|
echo "LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/12" >> $GITHUB_ENV
|
||||||
|
echo "LD_LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/12" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Download artifact
|
- name: Download artifact
|
||||||
if: matrix.libgccjit_version.gcc != 'libgccjit12.so'
|
if: matrix.libgccjit_version.gcc != 'libgccjit12.so'
|
||||||
@ -62,12 +65,12 @@ jobs:
|
|||||||
if: matrix.libgccjit_version.gcc != 'libgccjit12.so'
|
if: matrix.libgccjit_version.gcc != 'libgccjit12.so'
|
||||||
run: |
|
run: |
|
||||||
sudo dpkg --force-overwrite -i gcc-13.deb
|
sudo dpkg --force-overwrite -i gcc-13.deb
|
||||||
echo /usr/lib/ > gcc_path
|
echo 'gcc-path = "/usr/lib"' > config.toml
|
||||||
|
echo "LIBRARY_PATH=/usr/lib" >> $GITHUB_ENV
|
||||||
|
echo "LD_LIBRARY_PATH=/usr/lib" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Set env
|
- name: Set env
|
||||||
run: |
|
run: |
|
||||||
echo "LIBRARY_PATH=$(cat gcc_path)" >> $GITHUB_ENV
|
|
||||||
echo "LD_LIBRARY_PATH=$(cat gcc_path)" >> $GITHUB_ENV
|
|
||||||
echo "workspace="$GITHUB_WORKSPACE >> $GITHUB_ENV
|
echo "workspace="$GITHUB_WORKSPACE >> $GITHUB_ENV
|
||||||
|
|
||||||
#- name: Cache rust repository
|
#- name: Cache rust repository
|
||||||
|
6
.github/workflows/gcc12.yml
vendored
6
.github/workflows/gcc12.yml
vendored
@ -47,13 +47,13 @@ jobs:
|
|||||||
run: sudo apt-get install ninja-build ripgrep llvm-14-tools libgccjit-12-dev
|
run: sudo apt-get install ninja-build ripgrep llvm-14-tools libgccjit-12-dev
|
||||||
|
|
||||||
- name: Setup path to libgccjit
|
- name: Setup path to libgccjit
|
||||||
run: echo /usr/lib/gcc/x86_64-linux-gnu/12 > gcc_path
|
run: echo 'gcc-path = "/usr/lib/gcc/x86_64-linux-gnu/12"' > config.toml
|
||||||
|
|
||||||
- name: Set env
|
- name: Set env
|
||||||
run: |
|
run: |
|
||||||
echo "LIBRARY_PATH=$(cat gcc_path)" >> $GITHUB_ENV
|
|
||||||
echo "LD_LIBRARY_PATH=$(cat gcc_path)" >> $GITHUB_ENV
|
|
||||||
echo "workspace="$GITHUB_WORKSPACE >> $GITHUB_ENV
|
echo "workspace="$GITHUB_WORKSPACE >> $GITHUB_ENV
|
||||||
|
echo "LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/12" >> $GITHUB_ENV
|
||||||
|
echo "LD_LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/12" >> $GITHUB_ENV
|
||||||
|
|
||||||
#- name: Cache rust repository
|
#- name: Cache rust repository
|
||||||
## We only clone the rust repository for rustc tests
|
## We only clone the rust repository for rustc tests
|
||||||
|
6
.github/workflows/m68k.yml
vendored
6
.github/workflows/m68k.yml
vendored
@ -65,13 +65,13 @@ jobs:
|
|||||||
- name: Setup path to libgccjit
|
- name: Setup path to libgccjit
|
||||||
run: |
|
run: |
|
||||||
sudo dpkg -i gcc-m68k-13.deb
|
sudo dpkg -i gcc-m68k-13.deb
|
||||||
echo /usr/lib/ > gcc_path
|
echo 'gcc-path = "/usr/lib/"' > config.toml
|
||||||
|
|
||||||
- name: Set env
|
- name: Set env
|
||||||
run: |
|
run: |
|
||||||
echo "LIBRARY_PATH=$(cat gcc_path)" >> $GITHUB_ENV
|
|
||||||
echo "LD_LIBRARY_PATH=$(cat gcc_path)" >> $GITHUB_ENV
|
|
||||||
echo "workspace="$GITHUB_WORKSPACE >> $GITHUB_ENV
|
echo "workspace="$GITHUB_WORKSPACE >> $GITHUB_ENV
|
||||||
|
echo "LIBRARY_PATH=/usr/lib" >> $GITHUB_ENV
|
||||||
|
echo "LD_LIBRARY_PATH=/usr/lib" >> $GITHUB_ENV
|
||||||
|
|
||||||
#- name: Cache rust repository
|
#- name: Cache rust repository
|
||||||
## We only clone the rust repository for rustc tests
|
## We only clone the rust repository for rustc tests
|
||||||
|
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -42,13 +42,13 @@ jobs:
|
|||||||
- name: Setup path to libgccjit
|
- name: Setup path to libgccjit
|
||||||
run: |
|
run: |
|
||||||
sudo dpkg --force-overwrite -i gcc-13.deb
|
sudo dpkg --force-overwrite -i gcc-13.deb
|
||||||
echo /usr/lib/ > gcc_path
|
echo 'gcc-path = "/usr/lib/"' > config.toml
|
||||||
|
|
||||||
- name: Set env
|
- name: Set env
|
||||||
run: |
|
run: |
|
||||||
echo "LIBRARY_PATH=$(cat gcc_path)" >> $GITHUB_ENV
|
|
||||||
echo "LD_LIBRARY_PATH=$(cat gcc_path)" >> $GITHUB_ENV
|
|
||||||
echo "workspace="$GITHUB_WORKSPACE >> $GITHUB_ENV
|
echo "workspace="$GITHUB_WORKSPACE >> $GITHUB_ENV
|
||||||
|
echo "LIBRARY_PATH=/usr/lib" >> $GITHUB_ENV
|
||||||
|
echo "LD_LIBRARY_PATH=/usr/lib" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
|
6
.github/workflows/stdarch.yml
vendored
6
.github/workflows/stdarch.yml
vendored
@ -56,13 +56,13 @@ jobs:
|
|||||||
- name: Setup path to libgccjit
|
- name: Setup path to libgccjit
|
||||||
run: |
|
run: |
|
||||||
sudo dpkg --force-overwrite -i gcc-13.deb
|
sudo dpkg --force-overwrite -i gcc-13.deb
|
||||||
echo /usr/lib/ > gcc_path
|
echo 'gcc-path = "/usr/lib/"' > config.toml
|
||||||
|
|
||||||
- name: Set env
|
- name: Set env
|
||||||
run: |
|
run: |
|
||||||
echo "LIBRARY_PATH=$(cat gcc_path)" >> $GITHUB_ENV
|
|
||||||
echo "LD_LIBRARY_PATH=$(cat gcc_path)" >> $GITHUB_ENV
|
|
||||||
echo "workspace="$GITHUB_WORKSPACE >> $GITHUB_ENV
|
echo "workspace="$GITHUB_WORKSPACE >> $GITHUB_ENV
|
||||||
|
echo "LIBRARY_PATH=/usr/lib" >> $GITHUB_ENV
|
||||||
|
echo "LD_LIBRARY_PATH=/usr/lib" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user