Skip to content

Commit

Permalink
refine CI
Browse files Browse the repository at this point in the history
Signed-off-by: smtmfft <[email protected]>
  • Loading branch information
smtmfft committed Jan 10, 2025
1 parent 35da831 commit 0180981
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 6 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ on:
workflow_call:
pull_request:
paths:
- "core/**"
- "host/**"
- "lib/**"
- "!doc/**"
- "script/**"
- "taskdb/**"

jobs:
Expand Down Expand Up @@ -35,7 +40,7 @@ jobs:
uses: ./.github/workflows/ci-build-test-reusable.yml
with:
version_name: "native"
version_toolchain: "nightly-2024-04-17"
version_toolchain: "nightly-2024-09-05"
taskdb: ${{ needs.set-taskdb.outputs.taskdb }}

integration-test-native:
Expand All @@ -44,5 +49,5 @@ jobs:
uses: ./.github/workflows/ci-integration-reusable.yml
with:
version_name: "native"
version_toolchain: "nightly-2024-04-17"
version_toolchain: "nightly-2024-09-05"
taskdb: ${{ needs.set-taskdb.outputs.taskdb }}
11 changes: 9 additions & 2 deletions .github/workflows/ci-risc0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,29 @@ on:
paths:
- "provers/risc0/**"
- "!docs/**"
- "script/build.sh"
- "script/install.sh"
pull_request:
paths:
- "provers/risc0/**"
- "!docs/**"
- "script/build.sh"
- "script/install.sh"

jobs:
build-test-risc0:
name: Build and test risc0
uses: ./.github/workflows/ci-build-test-reusable.yml
with:
version_name: "risc0"
version_toolchain: "stable"
version_toolchain: "nightly-2024-09-05"
taskdb: “in-memory”

integration-test-risc0:
name: Run integration tests on risc0
uses: ./.github/workflows/ci-integration-reusable.yml
with:
version_name: "risc0"
version_toolchain: "nightly-2024-04-17"
version_toolchain: "nightly-2024-09-05"
taskdb: “in-memory”

6 changes: 6 additions & 0 deletions .github/workflows/ci-sgx-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@ on:
paths:
- "provers/sgx/**"
- "!docs/**"
- "script/build.sh"
- "script/install.sh"
pull_request:
paths:
- "provers/sgx/**"
- "!docs/**"
- "script/build.sh"
- "script/install.sh"

jobs:
build-test-sgx:
Expand All @@ -19,13 +23,15 @@ jobs:
with:
version_name: "sgx"
version_toolchain: "stable"
taskdb: “in-memory”

integration-test-sgx:
name: Run integration tests on sgx
uses: ./.github/workflows/ci-integration-reusable.yml
with:
version_name: "sgx"
version_toolchain: "nightly-2024-04-17"
taskdb: “in-memory”

build-test-sgx-docker:
name: Build and test sgx with Docker
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci-sgx-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@ on:
paths:
- "docker/**"
- "!docs/**"
- "script/build.sh"
- "script/install.sh"
pull_request:
paths:
- "docker/**"
- "!docs/**"
- "script/build.sh"
- "script/install.sh"

jobs:
build-test-sgx-with-docker:
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/ci-sp1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,29 @@ on:
paths:
- "provers/sp1/**"
- "!docs/**"
- "script/build.sh"
- "script/install.sh"
pull_request:
paths:
- "provers/sp1/**"
- "!docs/**"
- "script/build.sh"
- "script/install.sh"

jobs:
build-test-sp1:
name: Build and test sp1
uses: ./.github/workflows/ci-build-test-reusable.yml
with:
version_name: "sp1"
version_toolchain: "nightly-2024-04-18"
version_toolchain: "nightly-2024-09-05"
taskdb: “in-memory”

integration-test-sp1:
name: Run integration tests on sp1
uses: ./.github/workflows/ci-integration-reusable.yml
with:
version_name: "sp1"
version_toolchain: "nightly-2024-04-17"
version_toolchain: "nightly-2024-09-05"
taskdb: “in-memory”

0 comments on commit 0180981

Please sign in to comment.