-
Notifications
You must be signed in to change notification settings - Fork 85
59 lines (54 loc) · 1.68 KB
/
sanity-checks.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
on:
pull_request:
name: Sanity checks
permissions:
id-token: write
contents: read
jobs:
test-n-lint:
name: ${{ matrix.target }}
runs-on: ubuntu-latest-8-cores
strategy:
matrix:
target: [test-integration]
# target: [test-general, test-integration,
# lint-fmt, lint-clippy, cargo-build, docs-build, lint-taplo]
steps:
- name: Check out code
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab #3.5.2
with:
submodules: 'recursive'
- name: Prep build
uses: ./.github/actions/prep-ubuntu
with:
cache: enabled
# Cache needs Google credentials:
GWIP: ${{ secrets.GWIP_SCCACHE }}
GSA: ${{ secrets.GSA_SCCACHE }}
- name: Runing cargo ${{ matrix.target }}
run: ./ci/run-check.sh
env:
TARGET: ${{ matrix.target }}
RUSTC_WRAPPER: "sccache"
# SCCACHE_RECACHE: true
# benchmark-check:
# name: bench-check-${{ matrix.runtime }}
# runs-on: ubuntu-latest #-4-cores
# strategy:
# matrix:
# runtime: [altair, centrifuge]
# steps:
# - name: Check out code
# uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab #3.5.2
# - name: Prep build
# uses: ./.github/actions/prep-ubuntu
# with:
# cache: enabled
# GWIP: ${{ secrets.GWIP_SCCACHE }}
# GSA: ${{ secrets.GSA_SCCACHE }}
# - name: Runing cargo ${{ matrix.target }}
# run: ./ci/run-check.sh
# env:
# TARGET: benchmark-check
# RUNTIME: ${{ matrix.runtime }}
# RUSTC_WRAPPER: "sccache"