Skip to content

Commit ca48680

Browse files
committed
Install gcc in CI
1 parent c801f98 commit ca48680

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.circleci/config.yml

+11-4
Original file line numberDiff line numberDiff line change
@@ -544,12 +544,19 @@ jobs:
544544
set -o errexit
545545
curl -sS --output rustup-init.exe https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe
546546
./rustup-init.exe --default-toolchain 1.81 -y
547-
echo 'export PATH="$PATH;$USERPROFILE/.cargo/bin"' >> "$BASH_ENV"
547+
echo 'export PATH="$PATH:$USERPROFILE/.cargo/bin"' >> "$BASH_ENV"
548+
ls $USERPROFILE/.cargo/bin
549+
- run:
550+
name: Install gcc
551+
command: |
552+
set -o errexit
553+
choco install -y mingw
554+
echo 'export PATH="$PATH:/c/ProgramData/mingw64/mingw64/bin"' >> "$BASH_ENV"
548555
- run:
549556
name: Version information
550557
command: |
551558
set -o errexit
552-
rustc --version; cargo --version; rustup --version; rustup target list --installed
559+
rustc --version; cargo --version; rustup --version; rustup target list --installed; gcc --version
553560
- restore_cache:
554561
keys:
555562
- cachev3-package_vm_windows-rust:1.81-{{ checksum "Cargo.lock" }}
@@ -1183,12 +1190,12 @@ jobs:
11831190
name: Install necessary packages
11841191
command: |
11851192
apk update
1186-
apk add mold clang curl coreutils gnupg
1193+
apk add mold clang curl coreutils gnupg llvm19-dev zlib-static clang19-static
11871194
- run:
11881195
name: Install grcov
11891196
command: |
11901197
rustup component add llvm-tools-preview
1191-
cargo install grcov --locked
1198+
LD_DEBUG=all cargo install grcov --locked
11921199
- run:
11931200
name: Run tests with coverage
11941201
command: |

0 commit comments

Comments
 (0)