Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Commit

Permalink
include bridge wasm in repo
Browse files Browse the repository at this point in the history
  • Loading branch information
tamirms committed Jan 22, 2023
1 parent 30f036d commit 88dc49d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 21 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,6 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: 1
- name: Set up Rust
uses: stellar/actions/rust-cache@main
- name: Add wasm32 rust target
run: rustup update && rustup target add wasm32-unknown-unknown
- name: Generate
run: go generate ./...
- name: Build
run: go build ./...
- name: Build Tests
Expand All @@ -79,11 +73,5 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: 1
- name: Set up Rust
uses: stellar/actions/rust-cache@main
- name: Add wasm32 rust target
run: rustup update && rustup target add wasm32-unknown-unknown
- name: Generate
run: go generate ./...
- name: Run Unit Tests
run: go test -v -race ./...
7 changes: 0 additions & 7 deletions .github/workflows/starbridge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,4 @@ jobs:
with:
go-version: ${{ matrix.go }}

- name: Set up Rust
uses: stellar/actions/rust-cache@main
- name: Add wasm32 rust target
run: rustup update && rustup target add wasm32-unknown-unknown
- name: Generate
run: go generate ./...

- run: go test -race -timeout 25m -v ./integration/...
4 changes: 2 additions & 2 deletions soroban-bridge/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package soroban_bridge

import _ "embed"

//go:generate sh -c "cargo build --target wasm32-unknown-unknown --release"
//go:generate sh -c "cargo build --target wasm32-unknown-unknown --release && cp target/wasm32-unknown-unknown/release/soroban_bridge.wasm ."

//go:embed target/wasm32-unknown-unknown/release/soroban_bridge.wasm
//go:embed soroban_bridge.wasm
var SorobanBridgeWasm []byte
Binary file added soroban-bridge/soroban_bridge.wasm
Binary file not shown.

0 comments on commit 88dc49d

Please sign in to comment.