From df92d5c0d790b6f700801c106f12ff123b85b90f Mon Sep 17 00:00:00 2001 From: L Laniewski-Wollk Date: Tue, 2 Jan 2024 13:05:14 +1000 Subject: [PATCH] New rinside tests --- .github/workflows/rinside.yaml | 62 ++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 .github/workflows/rinside.yaml diff --git a/.github/workflows/rinside.yaml b/.github/workflows/rinside.yaml new file mode 100644 index 000000000..50ee3137e --- /dev/null +++ b/.github/workflows/rinside.yaml @@ -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 }}