Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Replace aura with babe and seperate build on feature flags #348

Merged
merged 16 commits into from
Dec 21, 2023
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 deletions .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,12 @@ jobs:
fail-fast: false
matrix:
include:
- binary: tangle-standalone
- binary: tangle
features: default
image_name: tangle-standalone
- binary: tangle-standalone
features: integration-tests
image_name: tangle-standalone-integration-tests
- binary: tangle-standalone
image_name: tangle
- binary: tangle
features: txpool
image_name: tangle-standalone-txpool
- binary: tangle-standalone
features: relayer
image_name: tangle-standalone-relayer
image_name: tangle-txpool
permissions:
contents: read
packages: write
Expand Down
24 changes: 6 additions & 18 deletions .github/workflows/publish-release-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,37 +28,25 @@ jobs:
run: sudo apt-get install protobuf-compiler

- name: Build binary
run: cargo build --release -p tangle-standalone --locked
run: cargo build --release -p tangle --locked

- name: Upload regular binary to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/release/tangle-standalone
asset_name: tangle-standalone-linux-amd64
file: target/release/tangle
asset_name: tangle-linux-amd64
tag: ${{ github.ref }}
overwrite: true

- name: Build binary with txpool
run: cargo build --release -p tangle-standalone --locked --features txpool
run: cargo build --release -p tangle --locked --features txpool

- name: Upload txpool binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/release/tangle-standalone
asset_name: tangle-standalone-txpool-linux-amd64
tag: ${{ github.ref }}
overwrite: true

- name: Build binary with relayer
run: cargo build --release -p tangle-standalone --locked --features relayer

- name: Upload relayer binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/release/tangle-standalone
asset_name: tangle-standalone-relayer-linux-amd64
file: target/release/tangle
asset_name: tangle-txpool-linux-amd64
tag: ${{ github.ref }}
overwrite: true
Loading
Loading