This repository has been archived by the owner on Jan 15, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 8
71 lines (66 loc) · 1.79 KB
/
build.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
name: Build tools cache
on:
push:
branches:
- master
schedule:
# Each day at midnight
- cron: '0 0 * * *'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- windows-2019
- ubuntu-18.04
- ubuntu-16.04
- macos-10.15
crate:
- cargo-audit
- cargo-udeps
- cargo-nono
- cargo-geiger
- cargo-tarpaulin
- cargo-cache
- cargo-web
- cargo-tree
- cargo-binutils
- cargo-fuzz
- cargo-deb
- cross
- sccache
- mdbook
- wasm-pack
- wasm-bindgen-cli
- grcov
exclude:
# cargo-tarpaulin is available for Linux only
- crate: cargo-tarpaulin
os: windows-2019
- crate: cargo-tarpaulin
os: macos-10.15
# cargo-deb is available for Linux only
- crate: cargo-deb
os: windows-2019
- crate: cargo-deb
os: macos-10.15
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install dependencies
run: python -m pip install -r requirements.txt
- name: Build ${{ matrix.crate }}
run: python build.py
env:
CRATE: ${{ matrix.crate }}
RUNNER: ${{ matrix.os }}
AWS_S3_REGION: ${{ secrets.AWS_S3_REGION }}
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
SIGN_CERT: ${{ secrets.SIGN_CERT }}
SIGN_CERT_PASSPHRASE: ${{ secrets.SIGN_CERT_PASSPHRASE }}