mirror of
https://github.com/reanimate/reanimate.git
synced 2026-09-14 09:32:22 +00:00
azure: build on mac.
This commit is contained in:
parent
8c0553274f
commit
0e103406c5
1 changed files with 20 additions and 14 deletions
|
|
@ -6,17 +6,23 @@
|
||||||
trigger:
|
trigger:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
pool:
|
jobs:
|
||||||
vmImage: 'ubuntu-latest'
|
- job: macOS
|
||||||
|
pool:
|
||||||
steps:
|
vmImage: 'macOS-10.13'
|
||||||
- script: |
|
steps:
|
||||||
mkdir -p ~/.local/bin
|
- script: |
|
||||||
export PATH=$HOME/.local/bin:$PATH
|
mkdir -p ~/.local/bin
|
||||||
curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
|
export PATH=$HOME/.local/bin:$PATH
|
||||||
displayName: 'Install stack'
|
curl --insecure -L https://get.haskellstack.org/stable/osx-x86_64.tar.gz | tar xz --strip-components=1 --include '*/stack' -C ~/.local/bin
|
||||||
|
stack build
|
||||||
- script: |
|
- job: linux
|
||||||
export PATH=$HOME/.local/bin:$PATH
|
pool:
|
||||||
stack build
|
vmImage: 'ubuntu-latest'
|
||||||
displayName: 'Build reanimate'
|
steps:
|
||||||
|
- script: |
|
||||||
|
mkdir -p ~/.local/bin
|
||||||
|
export PATH=$HOME/.local/bin:$PATH
|
||||||
|
curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
|
||||||
|
stack build
|
||||||
|
displayName: 'Build reanimate'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue