Skip to content

Commit

Permalink
use x86_64 without LLVM and prefer precompiled rustc
Browse files Browse the repository at this point in the history
Signed-off-by: onur-ozkan <work@onurozkan.dev>
  • Loading branch information
onur-ozkan committed Apr 1, 2024
1 parent 3d5528c commit 359b0d8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@ jobs:
- name: mingw-check-tidy
os: ubuntu-20.04-4core-16gb
env: {}
- name: x86_64-gnu-llvm-17
- name: x86_64-gnu
env:
ENABLE_GCC_CODEGEN: "1"
DOWNLOAD_RUSTC: "1"
os: ubuntu-20.04-16core-64gb
- name: x86_64-gnu-tools
os: ubuntu-20.04-16core-64gb
Expand Down Expand Up @@ -294,8 +295,9 @@ jobs:
os: ubuntu-20.04-8core-32gb
env: {}
- name: x86_64-gnu
env:
DOWNLOAD_RUSTC: "1"
os: ubuntu-20.04-4core-16gb
env: {}
- name: x86_64-gnu-stable
env:
IMAGE: x86_64-gnu
Expand Down
5 changes: 5 additions & 0 deletions src/ci/docker/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,11 @@ if [ "$ENABLE_GCC_CODEGEN" = "1" ]; then
echo "Setting extra environment values for docker: $extra_env"
fi

if [ "$DOWNLOAD_RUSTC" = "1" ]; then
extra_env="$extra_env --env DOWNLOAD_RUSTC=1"
echo "Setting extra environment values for docker: $extra_env"
fi

docker \
run \
--workdir /checkout/obj \
Expand Down
5 changes: 4 additions & 1 deletion src/ci/github-actions/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -357,9 +357,10 @@ jobs:
- name: mingw-check-tidy
<<: *job-linux-4c

- name: x86_64-gnu-llvm-17
- name: x86_64-gnu
env:
ENABLE_GCC_CODEGEN: "1"
DOWNLOAD_RUSTC: "1"
<<: *job-linux-16c

- name: x86_64-gnu-tools
Expand Down Expand Up @@ -476,6 +477,8 @@ jobs:
<<: *job-linux-8c

- name: x86_64-gnu
env:
DOWNLOAD_RUSTC: "1"
<<: *job-linux-4c

# This job ensures commits landing on nightly still pass the full
Expand Down

0 comments on commit 359b0d8

Please sign in to comment.