Skip to content
Merged
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
25 changes: 18 additions & 7 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,33 @@ jobs:
strategy:
fail-fast: false
matrix:
settings:
host:
- ubuntu-latest
- ubuntu-24.04-arm
node: [ 20, 22, 24, current ]
include:
- host: ubuntu-latest
target: x86_64-unknown-linux-gnu
build: npm run build -- --target x86_64-unknown-linux-gnu
node: [ 20, 22, 24, current ]
name: Build and run examples - ${{ matrix.settings.target }} - node@${{ matrix.node }}
runs-on: ${{ matrix.settings.host }}
- host: ubuntu-24.04-arm
target: aarch64-unknown-linux-gnu
build: npm run build -- --target aarch64-unknown-linux-gnu
exclude:
- host: ubuntu-24.04-arm
node: 22
- host: ubuntu-24.04-arm
node: 24
Comment on lines 18 to +34
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the follow-up with further refinements, please write comments explaining our testing matrix strategy: which combinations we want to include and which not.

name: Build and run examples - ${{ matrix.target }} - node@${{ matrix.node }}
runs-on: ${{ matrix.host }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/setup
with:
host: ${{ matrix.settings.host }}
target: ${{ matrix.settings.target }}
host: ${{ matrix.host }}
target: ${{ matrix.target }}
node-version: ${{ matrix.node }}
- name: Build
run: ${{ matrix.settings.build }}
run: ${{ matrix.build }}
shell: bash
# Scylla docker setup copied from https://github.com/scylladb/scylla-rust-driver/blob/main/.github/workflows/rust.yml
- name: Setup 3-node Scylla cluster
Expand Down
Loading