Skip to content

Commit

Permalink
Merge pull request #55 from oasisprotocol/matevz/feature/prepare-3.2.…
Browse files Browse the repository at this point in the history
…0-testnet

runtime: Bump Oasis SDK to 0.10.0 and prepare 3.2.0-testnet
  • Loading branch information
matevz authored Oct 25, 2024
2 parents a2a1b6a + 2ee0267 commit 57276d8
Show file tree
Hide file tree
Showing 5 changed files with 464 additions and 281 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,34 +12,34 @@ on:
- 'v[0-9]+.[0-9]+*'

jobs:

prepare-release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: "1.21.x"

- name: Build tagged release, elf, debug
id: build-debug-elf
uses: oasisprotocol/oasis-sdk/.github/actions/hash-rust@main
with:
image: oasisprotocol/runtime-builder:main
image: ghcr.io/oasisprotocol/runtime-builder:main
pkg-dirs: runtime
binaries: cipher-paratime
clean: no
features: debug-mock-sgx
setup: |
export OASIS_UNSAFE_SKIP_AVR_VERIFY=1 OASIS_UNSAFE_SKIP_KM_POLICY=1 OASIS_UNSAFE_ALLOW_DEBUG_ENCLAVES=1
export OASIS_UNSAFE_SKIP_AVR_VERIFY=1 OASIS_UNSAFE_ALLOW_DEBUG_ENCLAVES=1
- name: Create the debug Oasis Runtime Container
run: |
go install github.com/oasisprotocol/oasis-sdk/tools/orc@latest
pushd runtime
orc init ${RUNTIME_EXECUTABLE} --output ../insecure-debug-cipher-paratime.orc
orc init ${RUNTIME_EXECUTABLE} --output ../localnet-cipher-paratime.orc
popd
env:
RUNTIME_EXECUTABLE: ${{ github.workspace }}/${{ steps.build-debug-elf.outputs.build-path }}/cipher-paratime
Expand All @@ -48,7 +48,7 @@ jobs:
id: build-elf
uses: oasisprotocol/oasis-sdk/.github/actions/hash-rust@main
with:
image: oasisprotocol/runtime-builder:main
image: ghcr.io/oasisprotocol/runtime-builder:main
pkg-dirs: runtime
binaries: cipher-paratime
clean: no
Expand All @@ -57,7 +57,7 @@ jobs:
id: build-sgxs
uses: oasisprotocol/oasis-sdk/.github/actions/hash-rust@main
with:
image: oasisprotocol/runtime-builder:main
image: ghcr.io/oasisprotocol/runtime-builder:main
pkg-dirs: runtime
binaries: cipher-paratime.sgxs
clean: no
Expand All @@ -66,7 +66,6 @@ jobs:
- name: Create the Oasis Runtime Container
run: |
go install github.com/oasisprotocol/oasis-sdk/tools/orc@latest
pushd runtime
orc init ${RUNTIME_EXECUTABLE} --sgx-executable ${RUNTIME_SGXS} --output ../cipher-paratime.orc
popd
Expand All @@ -79,5 +78,5 @@ jobs:
with:
# Create a draft since the release requires an offline signing process.
draft: true
artifacts: cipher-paratime.orc,insecure-debug-cipher-paratime.orc
artifacts: cipher-paratime.orc,localnet-cipher-paratime.orc
token: ${{ secrets.GITHUB_TOKEN }}
Loading

0 comments on commit 57276d8

Please sign in to comment.