Skip to content

Commit

Permalink
Let's try
Browse files Browse the repository at this point in the history
  • Loading branch information
delneg committed Jul 29, 2024
1 parent fcf2758 commit 1f36b11
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/test-ci-sw.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Test CI SW mode

on:
push:
branches: [ develop, '**-release', 'ci/test-sw' ]
workflow_dispatch:
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}


jobs:
test-ci-sw:
runs-on: ubuntu-22.04
env:
SGX_MODE: SW
VERSION: "1.0.3"
PRODUCTION_MODE: true
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: 'stable'
- name: "Install deps"
run: |
apt-get install -y protobuf-compiler curl
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
cargo install protobuf-codegen --version "2.8.1" -f
- name: "Build SW mode"
run: SGX_MODE=SW make build
- name: "Test SW mode"
run: make test-all

0 comments on commit 1f36b11

Please sign in to comment.