mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-02 00:00:26 +02:00
Hash-check windows CI dependencies
This commit is contained in:
12
scripts/ci-get-mingw.sh
Executable file
12
scripts/ci-get-mingw.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
topdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
[ -z "$1" ] && exit 255
|
||||
|
||||
ver=11.2.0
|
||||
os=ubuntu20.04
|
||||
name="mingw-w64-${1}_${ver}_${os}.tar.xz"
|
||||
wget "http://minetest.kitsunemimi.pw/$name" -O "$name"
|
||||
sha256sum -w -c <(grep -F "$name" "$topdir/sha256sums.txt")
|
||||
sudo tar -xaf "$name" -C /usr
|
||||
rm -f "$name"
|
Reference in New Issue
Block a user