Skip to content

Feature: Pallet Engine (Add pallet - MVP) #32

Feature: Pallet Engine (Add pallet - MVP)

Feature: Pallet Engine (Add pallet - MVP) #32

Workflow file for this run

name: Build & Test Pop-CLI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
GITHUB_ACTOR: pop-cli
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Free up space on runner
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: Rust Cache
uses: Swatinem/[email protected]
with:
cache-on-failure: true
cache-all-crates: true
- name: Setup git config
run: |
git config --global user.name "${GITHUB_ACTOR}"
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- uses: actions/checkout@v3
- name: Check Feature Contracts Excl.
run: cargo check --no-default-features --features contract
- uses: actions/checkout@v3
- name: Check Features Parachain Excl.
run: cargo check --no-default-features --features parachain
- uses: actions/checkout@v3
- name: Build default features
run: cargo build
- name: Run tests
run: cargo test --verbose