Skip to content
This repository was archived by the owner on Mar 8, 2021. It is now read-only.

Commit b9cbb53

Browse files
committed
[ci] Add a jenkins build script.
1 parent a926b16 commit b9cbb53

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

scripts/ci/run-jenkins.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash -e
2+
3+
echo "ENVIRONMENT:"
4+
env
5+
6+
# The generated binaries are not relocateable so we need to install them in a global prefix
7+
MXE_PREFIX=/tmp/mxe-$GIT_COMMIT
8+
9+
trap "rm -rf $MXE_PREFIX" EXIT
10+
11+
make MXE_TARGETS='x86_64-w64-mingw32.static' gcc cmake zlib pthreads dlfcn-win32 mman-win32 PREFIX=$MXE_PREFIX OS_SHORT_NAME='disable-native-plugins'
12+
make MXE_TARGETS='i686-w64-mingw32.static' gcc cmake zlib pthreads dlfcn-win32 mman-win32 PREFIX=$MXE_PREFIX OS_SHORT_NAME='disable-native-plugins'
13+
14+
tar cvzf mxe-osx-$GIT_COMMIT.tar.gz $MXE_PREFIX

0 commit comments

Comments
 (0)