CI: uncomment clangarm64 from pacman.conf.
instead of adding from scratch. Once the commented-out section was added, the grep would match that and no longer run the sed to add it. Also remove line adding clang32 section because that was added to default pacman.conf (and was thus a no-op).
This commit is contained in:
parent
45c6b89ec7
commit
22ea970beb
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -135,8 +135,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo 'Server = https://repo.msys2.org/mingw/$repo/' > /etc/pacman.d/mirrorlist.mingw
|
echo 'Server = https://repo.msys2.org/mingw/$repo/' > /etc/pacman.d/mirrorlist.mingw
|
||||||
echo 'Server = https://repo.msys2.org/msys/$arch/' > /etc/pacman.d/mirrorlist.msys
|
echo 'Server = https://repo.msys2.org/msys/$arch/' > /etc/pacman.d/mirrorlist.msys
|
||||||
grep -qF '[clang32]' /etc/pacman.conf || sed -i '1s|^|[clang32]\nServer = http://repo.msys2.org/mingw/clang32/\n|' /etc/pacman.conf
|
grep -qFx '[clangarm64]' /etc/pacman.conf || sed -i '/^# \[clangarm64\]/,/^$/ s|^# ||g' /etc/pacman.conf
|
||||||
grep -qF '[clangarm64]' /etc/pacman.conf || sed -i '1s|^|[clangarm64]\nServer = http://repo.msys2.org/mingw/clangarm64/\n|' /etc/pacman.conf
|
|
||||||
pacman-conf.exe
|
pacman-conf.exe
|
||||||
|
|
||||||
- name: Update using the main mirror & Check install
|
- name: Update using the main mirror & Check install
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user