Skip to content

Commit

Permalink
New rinside tests
Browse files Browse the repository at this point in the history
  • Loading branch information
llaniewski committed Jan 2, 2024
1 parent a9ece37 commit df92d5c
Showing 1 changed file with 62 additions and 0 deletions.
62 changes: 62 additions & 0 deletions .github/workflows/rinside.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: RInside

on: [ push, pull_request ]

jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
model:
- d2q9
precision:
- float
- double
arch:
- cpu
- cuda
- hip
reticulate:
- true
- false
test:
- true
- false
exclude:
- arch: "cuda"
test: true
- arch: "hip"
test: true
- reticulate: true
test: false
steps:
- name: Git checkout
uses: actions/checkout@v3
- name: Install dependencies
uses: ./.github/actions/install
with:
r: true
rdep: true
openmpi: true
rinside: true
reticulate: ${{ matrix.reticulate }}
cuda: ${{ matrix.arch == "cuda" }}
hip: ${{ matrix.arch == "hip" }}
- name: Configure
uses: ./.github/actions/configure
with:
gpu: ${{ matrix.arch == "cuda" }}
hip: ${{ matrix.arch == "hip" }}
cuda_arch: sm_60
rinside: true
paranoid: true
precision: ${{ matrix.precision }}
- name: Compile
uses: ./.github/actions/compile
with:
model: ${{ matrix.model }}
- name: Run tests
uses: ./.github/actions/test
with:
model: ${{ matrix.model }}

0 comments on commit df92d5c

Please sign in to comment.