mirror of
				https://github.com/YACReader/yacreader
				synced 2025-10-31 08:14:29 -04:00 
			
		
		
		
	Add jobs for all the supported platforms
This commit is contained in:
		| @ -1,19 +1,49 @@ | ||||
| # Starter pipeline | ||||
| # Start with a minimal pipeline that you can customize to build and deploy your code. | ||||
| # Add steps that build, run tests, deploy, and more: | ||||
| # https://aka.ms/yaml | ||||
|  | ||||
| # aka.ms/yaml | ||||
| # TODO: reuse steps | ||||
| trigger: | ||||
| - master | ||||
| - develop | ||||
|  | ||||
| pool: | ||||
|   vmImage: 'ubuntu-latest' | ||||
| jobs: | ||||
| - job: Linux | ||||
|   pool: | ||||
|     vmImage: 'ubuntu-16.04' | ||||
|   steps: | ||||
|   - script: | | ||||
|       sudo add-apt-repository 'deb http://download.opensuse.org/repositories/home:/selmf/xUbuntu_16.04/ /' | ||||
|       sudo add-apt-repository ppa:kubuntu-ppa/backports | ||||
|       sudo apt-get update | ||||
|       sudo apt-get install -y --allow-unauthenticated qt-default qt5-qmake \ | ||||
|       qtbase5-dev qtmultimedia5-dev libpoppler-qt5-dev qtscript5-dev \ | ||||
|       libqt5opengl5-dev libglu1-mesa-dev libunarr-dev qtdeclarative5-dev | ||||
|     displayName: 'Install dependencies' | ||||
|   - script: | | ||||
|       qmake CONFIG+="7zip" | ||||
|       make | ||||
|     displayName: 'Build' | ||||
| - job: MacOS | ||||
|   pool: | ||||
|     vmImage: 'macOS-10.14' | ||||
|   steps: | ||||
|   - script: | | ||||
|       brew install qt | ||||
|       brew link qt --force | ||||
|     displayName: 'Install dependencies' | ||||
|   - script: | | ||||
|       qmake CONFIG+="7zip" | ||||
|       make | ||||
|     displayName: 'Build' | ||||
| - job: Windows | ||||
|   pool: | ||||
|     vmImage: 'vs2017-win2016' | ||||
|   steps: | ||||
|   - script: | | ||||
|       pip install aqtinstall | ||||
|       mkdir C:\Qt | ||||
|       aqt install -O c:\Qt 5.12.4 windows desktop win64_msvc2017_64 | ||||
|     displayName: 'Install dependencies' | ||||
|   - script: | | ||||
|       qmake CONFIG+="7zip" | ||||
|       make | ||||
|     displayName: 'Build' | ||||
|      | ||||
| steps: | ||||
| - script: echo Hello, world! | ||||
|   displayName: 'Run a one-line script' | ||||
|  | ||||
| - script: | | ||||
|     echo Add other tasks to build, test, and deploy your project. | ||||
|     echo See https://aka.ms/yaml | ||||
|   displayName: 'Run a multi-line script' | ||||
|  | ||||
		Reference in New Issue
	
	Block a user