Skip to content

Commit 4c9a74c

Browse files
committed
ci: Add tests for examples/runtime-sdk/rofl-oracle
1 parent 2db735d commit 4c9a74c

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

.github/workflows/ci-examples.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ env:
2424
CMAKE_POLICY_VERSION_MINIMUM: 3.5
2525

2626
jobs:
27-
lint-test-runtime-sdk:
28-
name: lint-test-runtime-sdk
27+
lint-test-runtime-sdk-minimal-runtime:
2928
runs-on: ubuntu-latest
3029
strategy:
3130
matrix:
@@ -52,6 +51,26 @@ jobs:
5251
working-directory: examples/${{ matrix.example }}
5352
run: cargo test
5453

54+
test-runtime-sdk-rofl-oracle:
55+
runs-on: ubuntu-latest
56+
strategy:
57+
matrix:
58+
example: [runtime-sdk/rofl-oracle-sgx, runtime-sdk/rofl-oracle-tdx-raw]
59+
steps:
60+
- name: Checkout
61+
uses: actions/checkout@v4
62+
63+
- name: Install Oasis CLI
64+
env:
65+
CLI_VERSION: 0.14.3
66+
run: |
67+
wget https://github.com/oasisprotocol/cli/releases/download/v${CLI_VERSION}/oasis_cli_${CLI_VERSION}_linux_amd64.tar.gz -O cli.tar.gz
68+
tar --strip-components 1 -xf cli.tar.gz
69+
70+
- name: Build ${{ matrix.example }}
71+
working-directory: examples/${{ matrix.example }}
72+
run: ../../../oasis rofl build --deployment testnet
73+
5574
lint-test-contract-sdk:
5675
name: lint-test-contract-sdk
5776
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)