From 33402bc6bfe670ee00b0d7f89dea031aefb15f50 Mon Sep 17 00:00:00 2001 From: actboy168 Date: Thu, 4 Jul 2019 10:10:48 +0800 Subject: =?UTF-8?q?=E6=9B=B4=E6=96=B0CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- azure-pipelines.yml | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'azure-pipelines.yml') diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 03a77760..44535c1b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -2,61 +2,60 @@ trigger: - master jobs: -- job: windows_msvc +- job: windows pool: - name: Hosted VS2017 + vmImage: 'windows-latest' steps: - script: | git submodule update --init --recursive - displayName: '拉取子模块' + displayName: 'Init' - script: | cd 3rd\luamake tools\ninja.exe -f ninja\msvc.ninja cd ..\.. - displayName: 'PreCompile' + displayName: 'Compile luamake' - script: | 3rd\luamake\luamake.exe rebuild displayName: 'Compile' - job: macos pool: - name: Hosted macOS + vmImage: 'macos-latest' steps: - bash: | git submodule update --init --recursive - displayName: '拉取子模块' + displayName: 'Init' - bash: | sudo xcode-select -s /Applications/Xcode_10.2.app brew install ninja - displayName: '安装ninja' + displayName: 'Install' - bash: | cd 3rd/luamake ninja -f ninja/macos.ninja cd ../.. - displayName: 'PreCompile' + displayName: 'Compile luamake' - bash: | ./3rd/luamake/luamake rebuild displayName: 'Compile' - job: linux pool: - name: Hosted Ubuntu 1604 + vmImage: 'ubuntu-latest' steps: - bash: | git submodule update --init --recursive - displayName: '拉取子模块' + displayName: 'Init' - bash: | - sudo apt-get update sudo apt-get install -y libreadline-dev ninja-build - displayName: '安装ninja' + displayName: 'Install' - bash: | cd 3rd/luamake ninja -f ninja/linux.ninja cd ../.. - displayName: 'PreCompile' + displayName: 'Compile luamake' - bash: | ./3rd/luamake/luamake rebuild displayName: 'Compile' -- cgit v1.2.3