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

Commit

Permalink
[ci] Add a jenkins build script.
Browse files Browse the repository at this point in the history
  • Loading branch information
vargaz committed Jan 26, 2018
1 parent a926b16 commit b9cbb53
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions scripts/ci/run-jenkins.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash -e

echo "ENVIRONMENT:"
env

# The generated binaries are not relocateable so we need to install them in a global prefix
MXE_PREFIX=/tmp/mxe-$GIT_COMMIT

trap "rm -rf $MXE_PREFIX" EXIT

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'
make MXE_TARGETS='i686-w64-mingw32.static' gcc cmake zlib pthreads dlfcn-win32 mman-win32 PREFIX=$MXE_PREFIX OS_SHORT_NAME='disable-native-plugins'

tar cvzf mxe-osx-$GIT_COMMIT.tar.gz $MXE_PREFIX

0 comments on commit b9cbb53

Please sign in to comment.