Skip to content
Closed
Show file tree
Hide file tree
Changes from all 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
36 changes: 18 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: CI

on:
push:
on:
push:
branches:
- master
tags:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
pull_request:
branches: [master]
Expand All @@ -17,7 +17,7 @@ on:

env:
VERBOSE: ${{ github.events.input.verbose }}
SUBWASM_VERSION: 0.12.0
SUBWASM_VERSION: 0.14.1
CARGO_TERM_COLOR: always


Expand All @@ -44,8 +44,8 @@ jobs:
with:
access_token: ${{ secrets.GITHUB_TOKEN }}

build_primary_binaries:
name: Primary build ${{ matrix.binary }} for ${{ matrix.rust-target }} on (${{ matrix.os }})
build_live_binaries:
name: Live build ${{ matrix.binary }} for ${{ matrix.rust-target }} on (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down Expand Up @@ -82,14 +82,14 @@ jobs:
run: |
cargo clean -p integritee-node
cargo build --release

# Upload artifacts
- name: Upload integritee-node
uses: actions/upload-artifact@v2
with:
name: integritee-node-${{ github.sha }}
path: target/release/integritee-node

- name: Slack Notification
uses: 8398a7/action-slack@v3
if: failure()
Expand All @@ -99,8 +99,8 @@ jobs:
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

build-skip-ais-check:
name: Primary build ${{ matrix.binary }} for ${{ matrix.rust-target }} on (${{ matrix.os }})
build_dev_binaries:
name: Development build ${{ matrix.binary }} for ${{ matrix.rust-target }} on (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down Expand Up @@ -136,15 +136,15 @@ jobs:
if: ${{ matrix.binary == 'release' }}
run: |
cargo clean -p integritee-node
cargo build --release --features skip-ias-check
cargo build --release --features skip-ias-check,skip-extrinsic-filtering

# Upload artifacts
- name: Upload integritee-node-dev
uses: actions/upload-artifact@v2
with:
name: integritee-node-dev-${{ github.sha }}
path: target/release/integritee-node

- name: Slack Notification
uses: 8398a7/action-slack@v3
if: failure()
Expand Down Expand Up @@ -257,7 +257,7 @@ jobs:
${{ matrix.runtime }}-metadata.json
# ${{ matrix.runtime }}-diff.txt


- name: Upload ${{ matrix.runtime }} runtime
uses: actions/upload-artifact@v2
with:
Expand All @@ -276,7 +276,7 @@ jobs:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

create_artifacts:
needs: [ build_primary_binaries, build-runtimes ]
needs: [ build_live_binaries, build-runtimes ]
runs-on: ubuntu-20.04
env:
CHAIN_SPEC: ${{ matrix.chain }}-${{ matrix.config }}
Expand All @@ -292,7 +292,7 @@ jobs:
# - uses: actions/download-artifact@v2
# with:
# name: integritee-node-${{ github.sha }}

# - name: 'Create binaries for artifacts'
# # Note: there is no way to pass the parachain-id to the `build-spec` cmd, which which imposes to set
# # `DEFAULT_PARA_ID=2015` in the `polkadot-parachains/command`.
Expand Down Expand Up @@ -330,7 +330,7 @@ jobs:
name: Draft Release
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
needs: [create_artifacts, build_primary_binaries, build-skip-ais-check, check]
needs: [create_artifacts, build_live_binaries, build_dev_binaries, check]
outputs:
release_url: ${{ steps.create-release.outputs.html_url }}
asset_upload_url: ${{ steps.create-release.outputs.upload_url }}
Expand All @@ -357,7 +357,7 @@ jobs:
- name: Changelog
uses: scottbrenner/generate-changelog-action@master
id: Changelog

- name: Display structure of downloaded files
run: ls -R
working-directory: .
Expand Down
Loading