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

CI node artifact #679

Merged
merged 7 commits into from
Mar 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 13 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Continuous Integration
on:
pull_request: []
push:
branches: [Develop, main-net-runtime, redux-ci-testing]
branches: [Develop, mainnet-release]

env:
RUNNER_INSTANCE_TYPE: c5.4xlarge
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
run: |
cat /etc/issue
apt update
apt install -y clang lldb lld gcc
apt install -y clang lldb lld gcc zip
- name: Install latest nightly with wasm target
uses: actions-rs/toolchain@v1
with:
Expand Down Expand Up @@ -101,6 +101,17 @@ jobs:
with:
name: code-coverage-report
path: cobertura.xml
- name: Zip compiled binaries
if: contains(github.ref, 'Develop')
# Zipping is required since billing is based on the raw uploaded size.
run: zip -r -j polkadex-node.zip ./target/release/polkadex-node
- name: Upload zipped binaries as an artifact
if: contains(github.ref, 'Develop')
uses: actions/upload-artifact@v3
with:
name: polkadex-node
path: ./polkadex-node.zip
if-no-files-found: error
stop-runner:
name: Stop self-hosted EC2 runner
needs:
Expand Down