update workflow (#318)
parent
cadb6a50ac
commit
8984d89760
|
@ -4,9 +4,9 @@ name: Check Set-Up & Build
|
||||||
on:
|
on:
|
||||||
# Triggers the workflow on push or pull request events but only for the master branch
|
# Triggers the workflow on push or pull request events but only for the master branch
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ main ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ main ]
|
||||||
|
|
||||||
# Allows you to run this workflow manually from the Actions tab
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
@ -23,11 +23,11 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Set-Up
|
- name: Set-Up
|
||||||
run: sudo apt install -y cmake pkg-config libssl-dev git build-essential clang libclang-dev curl
|
run: sudo apt install -y git clang curl libssl-dev llvm libudev-dev
|
||||||
|
|
||||||
- name: Install Rustup
|
- name: Install Rustup
|
||||||
run: |
|
run: |
|
||||||
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||||
source ~/.cargo/env
|
source ~/.cargo/env
|
||||||
rustup default stable
|
rustup default stable
|
||||||
rustup update nightly
|
rustup update nightly
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
[workspace]
|
[workspace]
|
||||||
members = [
|
members = [
|
||||||
'node',
|
"node",
|
||||||
'pallets/template',
|
"pallets/template",
|
||||||
'runtime',
|
"runtime",
|
||||||
]
|
]
|
||||||
[profile.release]
|
[profile.release]
|
||||||
panic = 'unwind'
|
panic = "unwind"
|
||||||
|
|
Loading…
Reference in New Issue