build: add 3rd scheduled build

This commit is contained in:
calebboyd
2019-06-24 13:34:06 -05:00
parent 93e0a021d3
commit 9c1d67b2e6
2 changed files with 10 additions and 2 deletions
+8 -2
View File
@@ -1,16 +1,22 @@
schedules:
- cron: "0 13 * * *"
- cron: "0 8 * * *"
displayName: "Daily Build 1"
always: true
branches:
include:
- master
- cron: "0 19 * * *"
- cron: "0 13 * * *"
displayName: "Daily Build 2"
always: true
branches:
include:
- master
- cron: "0 19 * * *"
displayName: "Daily Build 3"
always: true
branches:
include:
- master
jobs:
- job: BaseBuild
timeoutInMinutes: 180
+2
View File
@@ -4,6 +4,7 @@ import { runDockerBuild } from './docker'
import { getTarget, targetsEqual, NexeTarget } from '../lib/target'
import { pathExistsAsync, readFileAsync, execFileAsync, semverGt } from '../lib/util'
import got = require('got')
import { cpus } from 'os';
const env = process.env,
isPullRequest = env.BUILD_REASON === 'PullRequest',
@@ -60,6 +61,7 @@ async function build() {
build: true,
verbose: Boolean(env.NEXE_VERBOSE!),
target,
make: ['-j' + cpus().length],
output
}
console.log('Building: ' + target + ' on ' + buildHost)