Skip to content

Commit dac574a

Browse files
committed
Simplified Wolfram workflow by removing version matrix and updated default Wolfram Engine version to 15.0 in Dockerfile.
1 parent b8d4bd8 commit dac574a

2 files changed

Lines changed: 2 additions & 11 deletions

File tree

.github/workflows/build_wolfram.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ jobs:
3434
concurrency:
3535
group: ${{ github.ref }}-wolfram
3636
cancel-in-progress: ${{ github.event_name == 'pull_request' || github.ref_name != github.event.repository.default_branch }}
37-
strategy:
38-
matrix:
39-
wolfram_version: [13.3, 14.1]
4037
permissions:
4138
contents: read
4239
packages: write
@@ -65,16 +62,13 @@ jobs:
6562
id: meta
6663
uses: docker/metadata-action@v5
6764
with:
68-
flavor: |
69-
suffix=-${{ matrix.wolfram_version }}
7065
tags: |
7166
type=schedule
7267
type=ref,event=branch
7368
type=ref,event=tag
7469
type=ref,event=pr
7570
type=raw,value=${{ inputs.version }},enable=${{ inputs.version != '' }}
76-
type=raw,value=${{ matrix.wolfram_version }},suffix=,enable={{is_default_branch}}
77-
type=raw,value=latest,suffix=,enable=${{ (github.ref_name == github.event.repository.default_branch || github.ref_type == 'tag') && matrix.wolfram_version == '14.1' }}
71+
type=raw,value=latest,enable=${{ github.ref_name == github.event.repository.default_branch || github.ref_type == 'tag' }}
7872
type=edge,branch=main
7973
images: |
8074
ghcr.io/${{ github.repository }}/wolfram
@@ -92,5 +86,3 @@ jobs:
9286
no-cache: ${{ inputs.no-cache || false }}
9387
cache-from: type=gha
9488
cache-to: type=gha,mode=max,ignore-error=true
95-
build-args: |
96-
WOLFRAM_ENGINE_VERSION=${{ matrix.wolfram_version }}

wolfram/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@ RUN case $(uname -m) in \
1818
curl -Lfo /usr/local/bin/aws-lambda-rie https://github.com/aws/aws-lambda-runtime-interface-emulator/releases/latest/download/${RIE_BINARY_NAME} && \
1919
chmod +x /usr/local/bin/aws-lambda-rie
2020

21-
# FROM wolframresearch/wolframengine:${WOLFRAM_ENGINE_VERSION}
2221
FROM --platform=linux/amd64 ${WWE}
2322

24-
ARG WOLFRAM_ENGINE_VERSION
23+
ARG WOLFRAM_ENGINE_VERSION=15.0
2524

2625
ENV LOG_FORMAT="production"
2726

0 commit comments

Comments
 (0)