forked from esy-packages/esy-libtools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
40 lines (38 loc) · 1.12 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
jobs:
- job: macOS
pool:
vmImage: 'macOS-latest'
steps:
- template: ./.ci/use-esy.yml
- bash: ./test.sh
displayName: "Test package"
- job: Linux
pool:
vmImage: 'Ubuntu-latest'
steps:
- template: ./.ci/use-esy.yml
- bash: ./test.sh
displayName: "Test package"
- job: Windows
pool:
vmImage: 'windows-latest'
steps:
- template: ./.ci/use-esy.yml
- bash: mkdir -p test_dir
displayName: 'make test dir'
- bash: |
echo '{"dependencies": {"libtools" : "esy-packages/esy-libtools:package.json#'$(git rev-parse --short HEAD)'"}}' > package.json
displayName: 'create test package.json'
workingDirectory: test_dir
- script: esy install
displayName: 'Install esy-deps'
workingDirectory: test_dir
- script: esy build --verbose
displayName: 'Build test project'
workingDirectory: test_dir
- script: esy x which libtoolize
displayName: 'Test where libtoolize is installed'
workingDirectory: test_dir
- script: esy x libtoolize --help
displayName: 'Test if libtoolize is installed'
workingDirectory: test_dir