mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 23:02:38 +00:00
ci: install mingw-w64-x86_64-gcc for windows-gnu
This commit is contained in:
parent
4754e071d4
commit
e948d2e8e5
1 changed files with 6 additions and 0 deletions
6
.github/workflows/CICD.yml
vendored
6
.github/workflows/CICD.yml
vendored
|
@ -615,6 +615,8 @@ jobs:
|
||||||
arm-unknown-linux-gnueabihf) sudo apt-get -y update ; sudo apt-get -y install gcc-arm-linux-gnueabihf ;;
|
arm-unknown-linux-gnueabihf) sudo apt-get -y update ; sudo apt-get -y install gcc-arm-linux-gnueabihf ;;
|
||||||
aarch64-unknown-linux-*) sudo apt-get -y update ; sudo apt-get -y install gcc-aarch64-linux-gnu ;;
|
aarch64-unknown-linux-*) sudo apt-get -y update ; sudo apt-get -y install gcc-aarch64-linux-gnu ;;
|
||||||
*-redox*) sudo apt-get -y update ; sudo apt-get -y install fuse3 libfuse-dev ;;
|
*-redox*) sudo apt-get -y update ; sudo apt-get -y install fuse3 libfuse-dev ;;
|
||||||
|
# Update binutils if MinGW due to https://github.com/rust-lang/rust/issues/112368
|
||||||
|
x86_64-pc-windows-gnu) C:/msys64/usr/bin/pacman.exe -Syu --needed mingw-w64-x86_64-gcc --noconfirm ; echo "C:\msys64\mingw64\bin" >> $GITHUB_PATH ;;
|
||||||
esac
|
esac
|
||||||
case '${{ matrix.job.os }}' in
|
case '${{ matrix.job.os }}' in
|
||||||
macos-latest) brew install coreutils ;; # needed for testing
|
macos-latest) brew install coreutils ;; # needed for testing
|
||||||
|
@ -984,6 +986,10 @@ jobs:
|
||||||
echo "foo" > /home/runner/.plan
|
echo "foo" > /home/runner/.plan
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
case '${{ matrix.job.os }}' in
|
||||||
|
# Update binutils if MinGW due to https://github.com/rust-lang/rust/issues/112368
|
||||||
|
windows-latest) C:/msys64/usr/bin/pacman.exe -Syu --needed mingw-w64-x86_64-gcc --noconfirm ; echo "C:\msys64\mingw64\bin" >> $GITHUB_PATH ;;
|
||||||
|
esac
|
||||||
- name: Initialize toolchain-dependent workflow variables
|
- name: Initialize toolchain-dependent workflow variables
|
||||||
id: dep_vars
|
id: dep_vars
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
Loading…
Reference in a new issue