|
|
@ -1,12 +1,12 @@
|
|
|
|
name: build
|
|
|
|
name: build
|
|
|
|
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
on:
|
|
|
|
|
|
|
|
push:
|
|
|
|
|
|
|
|
branches:
|
|
|
|
|
|
|
|
- '**'
|
|
|
|
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
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:
|
|
|
|
install-cross:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
@ -30,10 +30,6 @@ jobs:
|
|
|
|
|
|
|
|
|
|
|
|
windows:
|
|
|
|
windows:
|
|
|
|
runs-on: windows-latest
|
|
|
|
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
|
|
|
|
needs: install-cross
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|