-
-
Notifications
You must be signed in to change notification settings - Fork 224
Expand file tree
/
Copy path_ci-win-msys2.sh
More file actions
executable file
·25 lines (18 loc) · 926 Bytes
/
_ci-win-msys2.sh
File metadata and controls
executable file
·25 lines (18 loc) · 926 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/env bash
# Copyright (C) Viktor Szakats. See LICENSE.md
# SPDX-License-Identifier: MIT
set -o xtrace -o errexit -o nounset; [ -n "${BASH:-}${ZSH_NAME:-}" ] && set -o pipefail
[[ "$(uname -s)" = *'ARM64'* ]] && env='clang-aarch64' || env='x86_64'
pacman --noconfirm --ask 20 --noprogressbar --sync --refresh --sysupgrade --sysupgrade
pacman --noconfirm --ask 20 --noprogressbar --sync --refresh --sysupgrade --sysupgrade
pacman --noconfirm --ask 20 --noprogressbar --sync --needed \
mingw-w64-"${env}"-{clang,cmake,ninja,jq,python-pip,rsync,gettext,osslsigncode,age,minisign} \
zip
[[ "${CW_CONFIG:-}" = *'boringssl'* ]] && \
pacman --noconfirm --ask 20 --noprogressbar --sync --needed \
mingw-w64-"${env}"-go
if [[ "${CW_CONFIG:-}" = *'boringssl'* ]] || [[ "${CW_CONFIG:-}" = *'awslc'* ]]; then
pacman --noconfirm --ask 20 --noprogressbar --sync --needed \
mingw-w64-"${env}"-nasm
fi
./_build.sh