File: before_install

package info (click to toggle)
microprofile 4.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,960 kB
  • sloc: cpp: 17,692; asm: 372; ansic: 265; makefile: 257; sh: 36
file content (21 lines) | stat: -rwxr-xr-x 518 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
echo "hello from before_install"
if [[ "$TRAVIS_OS_NAME" = "windows" ]] ; then
	export PATH="c:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\MSBuild\\15.0\Bin\\":$PATH
	pushd distorm\\make\\win32\\
	MSBuild.exe cdistorm.vcxproj /property:Configuration="clib";Platform="x64"
	popd	
fi

if [[ "$TRAVIS_OS_NAME" = "osx" ]]; then
	export DISTORM_MODE=DISTORM_STATIC
	pushd distorm/make/mac
	make
	popd
fi

if [[ "$TRAVIS_OS_NAME" = "linux" ]]; then
	pushd distorm/make/linux
	make
	popd
fi