|
|
|
@ -1,12 +1,12 @@
|
|
|
|
|
name: build
|
|
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
on:
|
|
|
|
|
push:
|
|
|
|
|
tags-ignore:
|
|
|
|
|
- '**'
|
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
# This job downloads and stores `cross` as an artifact, so that it can be
|
|
|
|
|
# redownloaded across all of the jobs. Currently this copied pasted between
|
|
|
|
|
# `build.yml` and `deploy.yml`. Make sure to update both places when making
|
|
|
|
|
# changes.
|
|
|
|
|
install-cross:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
steps:
|
|
|
|
@ -30,10 +30,6 @@ jobs:
|
|
|
|
|
|
|
|
|
|
windows:
|
|
|
|
|
runs-on: windows-latest
|
|
|
|
|
# Windows technically doesn't need this, but if we don't block windows on it
|
|
|
|
|
# some of the windows jobs could fill up the concurrent job queue before
|
|
|
|
|
# one of the install-cross jobs has started, so this makes sure all
|
|
|
|
|
# artifacts are downloaded first.
|
|
|
|
|
needs: install-cross
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|