diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30c0981..03a0694 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,7 @@ jobs: strategy: matrix: build-os: [macos-14, macos-12] - openfoam-version: [2312, 2306] + openfoam-version: [2406, 2312] fail-fast: false uses: ./.github/workflows/build-test.yml with: diff --git a/Makefile b/Makefile index d17fe1d..40cb3aa 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # Build configuration SHELL = /bin/bash -OPENFOAM_VERSION = 2312 +OPENFOAM_VERSION = 2406 APP_NAME = OpenFOAM-v$(OPENFOAM_VERSION) ifeq ($(OPENFOAM_VERSION),2112) diff --git a/README.md b/README.md index 3f1f9f1..1acdc1f 100644 --- a/README.md +++ b/README.md @@ -29,25 +29,25 @@ * Or, choose the OpenFOAM version(s) you want: - * **OpenFOAM v2312** + * **OpenFOAM v2406** * Install with [Homebrew](https://brew.sh): ```sh - brew install --no-quarantine gerlero/openfoam/openfoam@2312 + brew install --no-quarantine gerlero/openfoam/openfoam@2406 ``` - * Manual download: [⬇️ Apple silicon](https://github.com/gerlero/openfoam-app/releases/latest/download/openfoam2312-app-arm64.zip) | [⬇️ Intel](https://github.com/gerlero/openfoam-app/releases/latest/download/openfoam2312-app-x86_64.zip) + * Manual download: [⬇️ Apple silicon](https://github.com/gerlero/openfoam-app/releases/latest/download/openfoam2406-app-arm64.zip) | [⬇️ Intel](https://github.com/gerlero/openfoam-app/releases/latest/download/openfoam2406-app-x86_64.zip) - * **OpenFOAM v2306** + * **OpenFOAM v2312** * Install with [Homebrew](https://brew.sh): ```sh - brew install --no-quarantine gerlero/openfoam/openfoam@2306 + brew install --no-quarantine gerlero/openfoam/openfoam@2312 ``` - * Manual download: [⬇️ Apple silicon](https://github.com/gerlero/openfoam-app/releases/latest/download/openfoam2306-app-arm64.zip) | [⬇️ Intel](https://github.com/gerlero/openfoam-app/releases/latest/download/openfoam2306-app-x86_64.zip) + * Manual download: [⬇️ Apple silicon](https://github.com/gerlero/openfoam-app/releases/latest/download/openfoam2312-app-arm64.zip) | [⬇️ Intel](https://github.com/gerlero/openfoam-app/releases/latest/download/openfoam2312-app-x86_64.zip) * _Need an older version of OpenFOAM? [See here](#can-i-get-an-older-version-of-openfoam)_ @@ -132,6 +132,11 @@ If you need an older version of OpenFOAM, you can: * Use an older release of **OpenFOAM.app** (note that these apps are no longer updated): + * [**OpenFOAM-v2306.app** 1.13.1](https://github.com/gerlero/openfoam-app/releases/tag/v1.13.1) + * Homebrew: `brew install --no-quarantine gerlero/openfoam/openfoam@2212` + * [⬇️ Apple silicon](https://github.com/gerlero/openfoam-app/releases/download/v1.13.1/openfoam2306-app-arm64.zip): tested with macOS 14 Sonoma + * [⬇️ Intel](https://github.com/gerlero/openfoam-app/releases/download/v1.13.1/openfoam2306-app-x86_64.zip): tested with macOS 12 Monterey through macOS 14 Sonoma + * [**OpenFOAM-v2212.app** 1.11.1](https://github.com/gerlero/openfoam-app/releases/tag/v1.11.1) * Homebrew: `brew install --no-quarantine gerlero/openfoam/openfoam@2212` * [⬇️ Apple silicon](https://github.com/gerlero/openfoam-app/releases/download/v1.11.1/openfoam2212-app-arm64.zip): tested with macOS 14 Sonoma diff --git a/sources/OpenFOAM-v2406.tgz.sha256 b/sources/OpenFOAM-v2406.tgz.sha256 new file mode 100644 index 0000000..b505dfd --- /dev/null +++ b/sources/OpenFOAM-v2406.tgz.sha256 @@ -0,0 +1 @@ +8d1450fb89eec1e7cecc55c3bb7bc486ccbf63d069379d1d5d7518fa16a4686a sources/OpenFOAM-v2406.tgz diff --git a/tests/test_regression.py b/tests/test_regression.py index e49a8cc..a02f893 100644 --- a/tests/test_regression.py +++ b/tests/test_regression.py @@ -16,5 +16,6 @@ async def test_step(step): await step.run() assert "FOAM Warning" not in (step.path / "log.simpleFoam").read_text() +@pytest.mark.skipif(int(os.environ["FOAM_API"]) > 2312, reason="cartesianMesh removed from default installation") def test_cartesian(): # https://github.com/gerlero/openfoam-app/issues/88 subprocess.run(["cartesianMesh", "-help"], check=True)