Skip to content

Commit

Permalink
Merge pull request #26 from oasisprotocol/kostko/feature/prepare-1.1.0
Browse files Browse the repository at this point in the history
Prepare version 1.1.0
  • Loading branch information
kostko authored Apr 7, 2022
2 parents ae900a3 + 9a598d4 commit 032cf81
Show file tree
Hide file tree
Showing 5 changed files with 655 additions and 492 deletions.
20 changes: 19 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,20 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Go 1.17
uses: actions/setup-go@v3
with:
go-version: "1.17.x"

- name: Build tagged release, elf
id: build-elf
uses: oasisprotocol/oasis-sdk/.github/actions/hash-rust@main
with:
image: oasisprotocol/runtime-builder:main
binaries: cipher-paratime
clean: no

- name: Build tagged release, sgxs
id: build-sgxs
uses: oasisprotocol/oasis-sdk/.github/actions/hash-rust@main
Expand All @@ -33,8 +40,19 @@ jobs:
binaries: cipher-paratime.sgxs
clean: no
sgx: yes

- name: Create the Oasis Runtime Container
run: |
go install github.com/oasisprotocol/oasis-sdk/tools/orc@latest
orc init ${RUNTIME_EXECUTABLE} --sgx-executable ${RUNTIME_SGXS}
env:
RUNTIME_EXECUTABLE: ${{ github.workspace }}/${{ steps.build-elf.outputs.build-path }}/cipher-paratime
RUNTIME_SGXS: ${{ github.workspace }}/${{ steps.build-sgxs.outputs.build-path }}/cipher-paratime.sgxs

- name: Publish the release
uses: ncipollo/release-action@v1
with:
artifacts: ${{ github.workspace }}/${{ steps.build-elf.outputs.build-path }}/cipher-paratime,${{ github.workspace }}/${{ steps.build-sgxs.outputs.build-path }}/cipher-paratime.sgxs
# Create a draft since the release requires an offline signing process.
draft: true
artifacts: cipher-paratime.orc
token: ${{ secrets.GITHUB_TOKEN }}
Loading

0 comments on commit 032cf81

Please sign in to comment.