Skip to content

DO NOT MERGE... GH-711 actions experiment #1327

DO NOT MERGE... GH-711 actions experiment

DO NOT MERGE... GH-711 actions experiment #1327

Workflow file for this run

name: ci-matrix
on:
pull_request:
types: [opened, reopened, synchronize]
branches:
- master
jobs:
build:
if: github.event.pull_request.draft == false
strategy:
fail-fast: true
matrix:
target:
- { name: linux, os: ubuntu-22.04 }
name: Build node on ${{ matrix.target.os }}
runs-on: ${{ matrix.target.os }}
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Stable with rustfmt and clippy
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.63.0
components: rustfmt, clippy
override: true
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/cache/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo
- name: Build ${{ matrix.target.os }}
run: |
./ci/node/ci/build.sh
./ci/multinode_integration_test.sh
shell: bash
- name: Publish ${{ matrix.target.os }}
uses: actions/upload-artifact@v3
with:
name: Node-${{ matrix.target.name }}
path: results