From 536f60e2ca28e85441ba634bd7470ca7761f745b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Simonis?= Date: Sat, 14 Dec 2024 20:19:02 +0100 Subject: [PATCH] Use nighlty precice build --- .github/workflows/build-and-test.yml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 1bcaf52..0ea9f00 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -16,7 +16,7 @@ jobs: build: name: ${{ format('{0} {1}', matrix.IMAGE, matrix.TYPE) }} runs-on: ubuntu-latest - container: 'precice/ci-${{ matrix.IMAGE }}:latest' + container: 'precice/${{ matrix.IMAGE }}' defaults: run: shell: "bash --login -eo pipefail {0}" @@ -24,26 +24,18 @@ jobs: fail-fast: false matrix: include: - - IMAGE: 'ubuntu-2204' + - IMAGE: 'precice:nightly' TYPE: Debug - - IMAGE: 'ubuntu-2204' - TYPE: Release - CARGOFLAG: --release - - IMAGE: 'ubuntu-2404' - TYPE: Debug - - IMAGE: 'ubuntu-2404' + - IMAGE: 'precice:nightly' TYPE: Release CARGOFLAG: --release steps: + - name: preCICE Version + run: precice-tools version - name: Update APT run: apt-get -yy update && apt-get -yy upgrade - name: Install Cargo run: apt-get -yy install cargo - - name: Install preCICE - run: | - wget -q -O libprecice.deb https://github.com/precice/precice/releases/download/v3.0.0/libprecice3_3.0.0_$(lsb_release -sc).deb - apt-get -yy install ./libprecice.deb - rm libprecice.deb - uses: actions/checkout@v4 - name: Build bindings run: cargo build $CARGOFLAG