Skip to content
Permalink
Browse files

Merge pull request #30 from monouser7dig/patch-1

add azure pipelines for macOS and linux
  • Loading branch information...
yrnkrn committed Dec 7, 2018
2 parents 9bd04e7 + 6027409 commit 09cb4f07d737b277e346b4062d15b739ed3b29a8
Showing with 50 additions and 0 deletions.
  1. +27 −0 azure-pipelines.yml
  2. +10 −0 linux_script
  3. +13 −0 macos_script
@@ -0,0 +1,27 @@
jobs:
- job: mac
pool:
vmImage: 'macOS 10.14'

timeoutInMinutes: 360

steps:
- script: macos_script
displayName: 'build on mac'
- task: PublishBuild
inputs:
artifactName: 'build'
targetPath: 'build'
- job: linux
pool:
vmImage: 'ubuntu-18.04'

timeoutInMinutes: 360

steps:
- script: linux_script
displayName: 'build on linux'
- task: PublishBuild
inputs:
artifactName: 'build'
targetPath: 'build'
@@ -0,0 +1,10 @@
#!/bin/sh

sudo apt-get install -y cmake ninja


git clone https://github.com/yrnkrn/zapcc.git llvm
mkdir build
cd build
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_WARNINGS=OFF ../llvm
ninja
@@ -0,0 +1,13 @@
#!/bin/sh

brew install cmake ninja

export CC=$(which clang)
export CXX=$(which clang++)


git clone https://github.com/yrnkrn/zapcc.git llvm
mkdir build
cd build
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_WARNINGS=OFF ../llvm
ninja

0 comments on commit 09cb4f0

Please sign in to comment.
You can’t perform that action at this time.