forked from jitsi/jitsi-meet-electron-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
38 lines (33 loc) · 929 Bytes
/
appveyor.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
os: unstable
environment:
prebuild_upload:
secure: ISoUH9JZc7Vx2AkFPtCxh/Ml63yDs9w7oDKa7xNgwphOf2FWC3I5hMypxDH4cQlT
nodejs_version: "12"
platform:
- x86
- x64
install:
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:platform;
# Check if we're building the latest tag, if so
# then we publish the binaries if tests pass.
- ps: >
if ($env:appveyor_repo_tag -match "true" -and ("$(git describe --tags --always HEAD)" -eq $env:appveyor_repo_tag_name)) {
$env:publish_binary = "true";
}
if ($env:publish_binary -eq "true") {
"We're publishing a binary!" | Write-Host
} else {
"We're not publishing a binary" | Write-Host
}
true;
build_script:
- npm install
test_script:
- ps: >
if ($env:publish_binary -eq "true") {
node_modules\\.bin\\prebuild --all -u $env:prebuild_upload
}
true;
deploy: OFF
artifacts:
- path: prebuilds