Skip to content

Commit

Permalink
try building for arm/amd
Browse files Browse the repository at this point in the history
  • Loading branch information
mahf708 authored Jan 27, 2025
1 parent fc7a1e6 commit b630063
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/inputdata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
- files-standalone
os:
- ubuntu-22.04
- ubuntu-22.04-arm
steps:
-
name: Checkout
Expand All @@ -38,6 +37,17 @@ jobs:
submodules: recursive
show-progress: false
persist-credentials: false
-
name: Setup
uses: docker/setup-docker-action@v4
with:
daemon-config: |
{
"debug": true,
"features": {
"containerd-snapshotter": true
}
}
-
name: GHCR
uses: docker/login-action@v3
Expand Down Expand Up @@ -67,5 +77,6 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64
build-args: |
DATA_FILE=${{ matrix.data }}.txt
14 changes: 13 additions & 1 deletion .github/workflows/standalone-ghci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
id-token: write
strategy:
matrix:
os: [ubuntu-22.04-arm]
os: [ubuntu-22.04]

steps:
-
Expand All @@ -43,6 +43,17 @@ jobs:
submodules: recursive
show-progress: false
persist-credentials: false
-
name: Setup
uses: docker/setup-docker-action@v4
with:
daemon-config: |
{
"debug": true,
"features": {
"containerd-snapshotter": true
}
}
-
name: GHCR
uses: docker/login-action@v3
Expand Down Expand Up @@ -72,6 +83,7 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64
build-args: |
GCC_VERSION=${{ env.GCC_VERSION }}
MPICH_VERSION=${{ env.MPICH_VERSION }}
Expand Down

0 comments on commit b630063

Please sign in to comment.