Skip to content

Commit

Permalink
matrixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rzadp committed Aug 21, 2024
1 parent 00aeabf commit b889787
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/check-getting-started.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ concurrency:
jobs:
check-getting-started:
strategy:
fail-fast: false
fail-fast: true
matrix:
container: [debian]
container: [ubuntu, debian]
template: [minimal, solochain, parachain]
runs-on: ubuntu-latest
container: ${{ matrix.container }}:latest
steps:
Expand Down Expand Up @@ -64,7 +65,7 @@ jobs:
send "y\r"
}
expect "1) minimal template" {
expect "1) ${{ matrix.template }} template" {
send "1\r"
}
Expand Down Expand Up @@ -99,8 +100,9 @@ jobs:
send "y\r"
}
expect "1) minimal template" {
expect "1) ${{ matrix.template }} template" {
send "1\r"
expect "directory already exists" {}
}
expect "compile the node?" {
Expand All @@ -114,14 +116,15 @@ jobs:
- name: Compile the node outside of the script
run: |
. "$HOME/.cargo/env"
cd minimal-template
cd ${{ matrix.template }}-template
cargo build --release
timeout-minutes: 120
shell: bash

- name: Check that the binary is executable
run: |
. "$HOME/.cargo/env"
cd minimal-template
cd ${{ matrix.template }}-template
cargo run --release -- --help
shell: bash
timeout-minutes: 5

0 comments on commit b889787

Please sign in to comment.