Skip to content

Commit

Permalink
ci: test github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
demartis committed Nov 15, 2023
1 parent 5da3ebc commit 0b756c6
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 30 deletions.
56 changes: 28 additions & 28 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ jobs:
DOCKERHUB_REPO: demartis/matlab-runtime
DOCKERHUB_TAG: R2019b
DOCKER_CONTEXT: R2019b

R2019b-meshlab:
needs: [ R2019b ]
uses: ./.github/workflows/sub_release.yaml
secrets: inherit
with:
DOCKERHUB_REPO: demartis/matlab-runtime
DOCKERHUB_TAG: R2019b-meshlab
DOCKER_CONTEXT: R2019b-meshlab
#
# R2019b-meshlab:
# needs: [ R2019b ]
# uses: ./.github/workflows/sub_release.yaml
# secrets: inherit
# with:
# DOCKERHUB_REPO: demartis/matlab-runtime
# DOCKERHUB_TAG: R2019b-meshlab
# DOCKER_CONTEXT: R2019b-meshlab

# R2020a:
# uses: ./.github/workflows/sub_release.yaml
Expand Down Expand Up @@ -177,22 +177,22 @@ jobs:
# DOCKERHUB_REPO: demartis/matlab-runtime
# DOCKERHUB_TAG: R2023a-meshlab
# DOCKER_CONTEXT: R2023a-meshlab

R2023b:
uses: ./.github/workflows/sub_release.yaml
secrets: inherit
with:
DOCKERHUB_REPO: demartis/matlab-runtime
DOCKERHUB_TAG: R2023b
DOCKER_CONTEXT: R2023b
is_latest: true

R2023b-meshlab:
needs: [ R2023b ]
uses: ./.github/workflows/sub_release.yaml
secrets: inherit
with:
DOCKERHUB_REPO: demartis/matlab-runtime
DOCKERHUB_TAG: R2023b-meshlab
DOCKER_CONTEXT: R2023b-meshlab
is_latest_meshlab: true
#
# R2023b:
# uses: ./.github/workflows/sub_release.yaml
# secrets: inherit
# with:
# DOCKERHUB_REPO: demartis/matlab-runtime
# DOCKERHUB_TAG: R2023b
# DOCKER_CONTEXT: R2023b
# is_latest: true
#
# R2023b-meshlab:
# needs: [ R2023b ]
# uses: ./.github/workflows/sub_release.yaml
# secrets: inherit
# with:
# DOCKERHUB_REPO: demartis/matlab-runtime
# DOCKERHUB_TAG: R2023b-meshlab
# DOCKER_CONTEXT: R2023b-meshlab
# is_latest_meshlab: true
4 changes: 2 additions & 2 deletions .github/workflows/sub_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
-
name: Image MCR version check Test
run: |
docker run -v `pwd`/../test:/test --rm ${{ inputs.DOCKERHUB_REPO }}:${{ env.TEST_TAG }} bash /test/mcr_version.sh ${{ inputs.DOCKERHUB_TAG }}
ls && docker run -v `pwd`/../test:/test --rm ${{ inputs.DOCKERHUB_REPO }}:${{ env.TEST_TAG }} bash /test/mcr_version.sh ${{ inputs.DOCKERHUB_TAG }}
-
name: Build and push (cached) :${{ inputs.DOCKERHUB_TAG }} ${{ inputs.is_latest == true && 'and :latest' || '' }} ${{ inputs.is_latest_meshlab == true && 'and :latest-meshlab' || '' }}
Expand All @@ -114,7 +114,7 @@ jobs:
# mv /tmp/.buildx-cache-new /tmp/.buildx-cache

-
name: MCR version heck
name: MCR version check
run: |
docker run -v `pwd`/../test:/test --rm ${{ inputs.DOCKERHUB_REPO }}:${{ env.TEST_TAG }} bash /test/mcr_version.sh ${{ inputs.DOCKERHUB_TAG }}
-
Expand Down

0 comments on commit 0b756c6

Please sign in to comment.