summaryrefslogtreecommitdiffstats
path: root/compiler/rustc_codegen_gcc/.github/workflows
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:57:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:57:31 +0000
commitdc0db358abe19481e475e10c32149b53370f1a1c (patch)
treeab8ce99c4b255ce46f99ef402c27916055b899ee /compiler/rustc_codegen_gcc/.github/workflows
parentReleasing progress-linux version 1.71.1+dfsg1-2~progress7.99u1. (diff)
downloadrustc-dc0db358abe19481e475e10c32149b53370f1a1c.tar.xz
rustc-dc0db358abe19481e475e10c32149b53370f1a1c.zip
Merging upstream version 1.72.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'compiler/rustc_codegen_gcc/.github/workflows')
-rw-r--r--compiler/rustc_codegen_gcc/.github/workflows/stdarch.yml32
1 files changed, 29 insertions, 3 deletions
diff --git a/compiler/rustc_codegen_gcc/.github/workflows/stdarch.yml b/compiler/rustc_codegen_gcc/.github/workflows/stdarch.yml
index 42fb35e73..556c64448 100644
--- a/compiler/rustc_codegen_gcc/.github/workflows/stdarch.yml
+++ b/compiler/rustc_codegen_gcc/.github/workflows/stdarch.yml
@@ -20,9 +20,9 @@ jobs:
matrix:
libgccjit_version:
- { gcc: "libgccjit.so", artifacts_branch: "master" }
- commands: [
- "--test-successful-rustc --nb-parts 2 --current-part 0",
- "--test-successful-rustc --nb-parts 2 --current-part 1",
+ cargo_runner: [
+ "sde -future -rtm_mode full --",
+ "",
]
steps:
@@ -36,6 +36,20 @@ jobs:
- name: Install packages
run: sudo apt-get install ninja-build ripgrep
+ - name: Install Intel Software Development Emulator
+ if: ${{ matrix.cargo_runner }}
+ run: |
+ mkdir intel-sde
+ cd intel-sde
+ dir=sde-external-9.14.0-2022-10-25-lin
+ file=$dir.tar.xz
+ wget https://downloadmirror.intel.com/751535/$file
+ tar xvf $file
+ sudo mkdir /usr/share/intel-sde
+ sudo cp -r $dir/* /usr/share/intel-sde
+ sudo ln -s /usr/share/intel-sde/sde /usr/bin/sde
+ sudo ln -s /usr/share/intel-sde/sde64 /usr/bin/sde64
+
- name: Download artifact
uses: dawidd6/action-download-artifact@v2
with:
@@ -91,6 +105,10 @@ jobs:
./prepare_build.sh
./build.sh --release --release-sysroot
cargo test
+
+ - name: Clean
+ if: ${{ !matrix.cargo_runner }}
+ run: |
./clean_all.sh
- name: Prepare dependencies
@@ -107,10 +125,18 @@ jobs:
args: --release
- name: Run tests
+ if: ${{ !matrix.cargo_runner }}
run: |
./test.sh --release --clean --release-sysroot --build-sysroot --mini-tests --std-tests --test-libcore
- name: Run stdarch tests
+ if: ${{ !matrix.cargo_runner }}
run: |
cd build_sysroot/sysroot_src/library/stdarch/
CHANNEL=release TARGET=x86_64-unknown-linux-gnu ../../../../cargo.sh test
+
+ - name: Run stdarch tests
+ if: ${{ matrix.cargo_runner }}
+ run: |
+ cd build_sysroot/sysroot_src/library/stdarch/
+ STDARCH_TEST_EVERYTHING=1 CHANNEL=release CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER="${{ matrix.cargo_runner }}" TARGET=x86_64-unknown-linux-gnu ../../../../cargo.sh test -- --skip rtm --skip tbm --skip sse4a