Added azure pipeline configuration file.

Runs a build in an Ubuntu Linux 18.04LTS
This commit is contained in:
Matthew Budd 2020-05-08 22:07:19 -04:00
parent 94973b0078
commit 292a1de39b
2 changed files with 39 additions and 0 deletions

16
azure-pipelines.yml Normal file
View File

@ -0,0 +1,16 @@
# C/C++ with GCC
# Build your C/C++ project with GCC using make.
# Add steps that publish test results, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/apps/c-cpp/gcc
trigger:
- master
- development
pool:
vmImage: 'ubuntu-latest'
steps:
- script: |
./azure/linux_build.sh
displayName: 'make'

23
azure/linux_build.sh Executable file
View File

@ -0,0 +1,23 @@
#!/bin/bash
id
pwd
cat /etc/os-release
gcc --version
python2 --version
python3 --version
sudo apt-get install lua5.1-dev
sudo apt-get install libsdl1.2-dev
sudo apt-get install libsdl2-dev
sudo apt-get install libminizip-dev
#sudo apt-get install libxml2-dev
#sudo apt-get install libgtk2.0-dev
sudo apt-get install libgtk-3-dev
sudo apt-get install libgtksourceview-3.0-dev
sudo apt-get install scons
scons GTK3=1 SYSTEM_LUA=1 SYSTEM_MINIZIP=1 CREATE_AVI=1
ls -ltr ./bin/*