summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci/test-msys2.sh
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci/test-msys2.sh')
-rw-r--r--.gitlab-ci/test-msys2.sh55
1 files changed, 0 insertions, 55 deletions
diff --git a/.gitlab-ci/test-msys2.sh b/.gitlab-ci/test-msys2.sh
deleted file mode 100644
index e4d4fc16..00000000
--- a/.gitlab-ci/test-msys2.sh
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/bin/bash
-set -e
-
-# TODO: Currently, the CI times out at 1hr when downloading mingw-w64 packages
-# (mainly Clang and LLVM). Until that's resolved, just test the
-# `sequoia_openpgp` crate using the CNG backend
-
-# FIXME: Try to mitigate the download speed by sorting the mirrors by fastest
-cat /etc/pacman.d/mirrorlist.msys
-cat /etc/pacman.d/mirrorlist.mingw64
-
-cp /etc/pacman.d/mirrorlist.msys /etc/pacman.d/mirrorlist.msys.backup
-rankmirrors /etc/pacman.d/mirrorlist.msys.backup > /etc/pacman.d/mirrorlist.msys
-
-cp /etc/pacman.d/mirrorlist.mingw64 /etc/pacman.d/mirrorlist.mingw64.backup
-rankmirrors /etc/pacman.d/mirrorlist.mingw64.backup > /etc/pacman.d/mirrorlist.mingw64
-
-cat /etc/pacman.d/mirrorlist.msys
-cat /etc/pacman.d/mirrorlist.mingw64
-
-date
-pacman --noconfirm -S --needed \
- base-devel \
- mingw-w64-x86_64-toolchain \
- mingw-w64-x86_64-bzip2
- # mingw-w64-x86_64-nettle \
- # mingw-w64-x86_64-sqlite3 \
- # mingw-w64-x86_64-capnproto \
- # mingw-w64-x86_64-clang
-# ^^ It's worth noting that for Rust < 1.40, bindgen has problem picking up
-# correct libclang. This is tested and working for clang 9 but if that
-# stops for any reason (newer versions), we'd need to download a specific
-# version from repo.msys2.org/mingw/x86_64/ and install it manually.
-
-# clang --version
-gcc --version
-
-date
-cd openpgp
-# https://github.com/rust-lang/cargo/issues/5015
-cargo test --no-default-features --features crypto-cng,compression
-
-# # Ensure everything compiles but leave FFI tests for now
-# cargo check --all --all-targets
-# cargo test -v \
-# -p buffered-reader \
-# -p sequoia-ipc \
-# -p sequoia-openpgp \
-# -p sequoia-sqv \
-# -p sequoia-autocrypt \
-# -p sequoia-core \
-# -p sequoia-net \
-# -p sequoia-store
-# # -p sequoia-ffi \
-# # -p sequoia-openpgp-ffi \