mirror of
				https://github.com/mozilla/gecko-dev.git
				synced 2025-11-04 02:09:05 +02:00 
			
		
		
		
	We leave the following ones unchanged: - geckodriver because the results are used to releases on github. - sixgill because the script that creates it is not in-tree. - *-dist-toolchain because sccache is not expecting a .tar.zst. We use native tar support in most cases, except for toolchain scripts also used on Windows, for which we use our zstdpy script. Differential Revision: https://phabricator.services.mozilla.com/D124733
		
			
				
	
	
		
			29 lines
		
	
	
	
		
			640 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
	
		
			640 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
#!/bin/bash
 | 
						|
set -x -e -v
 | 
						|
 | 
						|
WORKSPACE=$HOME/workspace
 | 
						|
INSTALL_DIR=$WORKSPACE/wine
 | 
						|
 | 
						|
mkdir -p $INSTALL_DIR
 | 
						|
mkdir -p $WORKSPACE/build/wine
 | 
						|
mkdir -p $WORKSPACE/build/wine64
 | 
						|
 | 
						|
cd $WORKSPACE/build/wine64
 | 
						|
$MOZ_FETCHES_DIR/wine-source/configure --enable-win64 --without-x --without-freetype --prefix=$INSTALL_DIR/
 | 
						|
make -j$(nproc)
 | 
						|
 | 
						|
cd $WORKSPACE/build/wine
 | 
						|
$MOZ_FETCHES_DIR/wine-source/configure --with-wine64=../wine64 --without-x --without-freetype --prefix=$INSTALL_DIR/
 | 
						|
make -j$(nproc)
 | 
						|
make install
 | 
						|
 | 
						|
cd $WORKSPACE/build/wine64
 | 
						|
make install
 | 
						|
 | 
						|
# --------------
 | 
						|
 | 
						|
cd $WORKSPACE/
 | 
						|
tar caf wine.tar.zst wine
 | 
						|
 | 
						|
mkdir -p $UPLOAD_DIR
 | 
						|
cp wine.tar.* $UPLOAD_DIR
 |