mirror of
https://github.com/autc04/Retro68.git
synced 2025-02-18 02:30:48 +00:00
Add an azure build
This commit is contained in:
parent
779948435b
commit
40d727cf85
45
azure-pipelines.yml
Normal file
45
azure-pipelines.yml
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
trigger:
|
||||||
|
- master
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
- job: Linux
|
||||||
|
pool:
|
||||||
|
vmImage: 'ubuntu-16.04'
|
||||||
|
container:
|
||||||
|
image: 'ubuntu:18.04'
|
||||||
|
options: "--name ci-container -v /usr/bin/docker:/tmp/docker:ro"
|
||||||
|
steps:
|
||||||
|
- script: |
|
||||||
|
/tmp/docker exec -t -u 0 ci-container \
|
||||||
|
sh -c "apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confold" -y install sudo"
|
||||||
|
displayName: set up sudo
|
||||||
|
- checkout: self
|
||||||
|
submodules: true
|
||||||
|
- script: |
|
||||||
|
whoami
|
||||||
|
pwd
|
||||||
|
sudo apt-get install -y \
|
||||||
|
cmake libgmp-dev libmpfr-dev libmpc-dev \
|
||||||
|
libboost-all-dev bison texinfo \
|
||||||
|
ruby
|
||||||
|
displayName: 'install prerequisites'
|
||||||
|
- script: |
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
../build-toolchain.bash --no-carbon
|
||||||
|
displayName: 'build'
|
||||||
|
|
||||||
|
- job: macOS
|
||||||
|
pool:
|
||||||
|
vmImage: 'macOS-10.14'
|
||||||
|
steps:
|
||||||
|
- checkout: self
|
||||||
|
submodules: true
|
||||||
|
- script: |
|
||||||
|
brew install boost cmake gmp mpfr libmpc bison
|
||||||
|
displayName: 'brew prerequisites'
|
||||||
|
- script: |
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
../build-toolchain.bash --no-carbon
|
||||||
|
displayName: build
|
Loading…
x
Reference in New Issue
Block a user