forked from taikoxyz/raiko
-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (42 loc) · 1.16 KB
/
ci-integration-reusable.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
name: CI Integration test - Reusable
on:
workflow_call:
inputs:
version_name:
type: string
required: true
version_toolchain:
type: string
required: true
env:
CI: 1
CARGO_TERM_COLOR: always
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
build-run-integration:
name: Build and run integration
runs-on: [taiko-runner]
timeout-minutes: 120
env:
TARGET: ${{ inputs.version_name }}
CI: 1
MOCK: 1
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ inputs.version_toolchain }}
profile: minimal
- name: Setup sccache
if: ${{ inputs.version_name }} == risc0
uses: risc0/risc0/.github/actions/[email protected]
- name: Install ${{ inputs.version_name }}
run: make install
- name: Build ${{ inputs.version_name }} prover
run: make build
# TODO:(petar) re add to CI after fixing sgx directory setup
#
# - name: Run integration test for ${{ inputs.version_name }} prover
# run: make integration