Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 34 additions & 2 deletions .github/workflows/reusable-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,24 @@ jobs:
, DISTRO: "Unknown"
, ARTIFACT: "x86_64-linux-unknown"
}
, { image: "debian:12"
, installCmd: "apt-get update && apt-get install -y"
, toolRequirements: "${{ needs.tool-output.outputs.apt_tools }}"
, DISTRO: "Debian"
, ARTIFACT: "x86_64-linux-unknown"
}
, { image: "ubuntu:24.04"
, installCmd: "apt-get update && apt-get install -y"
, toolRequirements: "${{ needs.tool-output.outputs.apt_tools_ncurses6 }}"
, DISTRO: "Ubuntu"
, ARTIFACT: "x86_64-linux-unknown"
}
, { image: "fedora:44"
, installCmd: "dnf install -y"
, toolRequirements: "${{ needs.tool-output.outputs.rpm_tools }}"
, DISTRO: "Fedora"
, ARTIFACT: "x86_64-linux-unknown"
}
]
container:
image: ${{ matrix.platform.image }}
Expand Down Expand Up @@ -479,6 +497,10 @@ jobs:
, DISTRO: "Alpine"
, ARTIFACT: "aarch64-linux-unknown"
}
, { ARCH: "ARM64"
, DISTRO: "Debian"
, ARTIFACT: "aarch64-linux-unknown"
}
]
steps:
- uses: actions/checkout@v7
Expand All @@ -490,14 +512,24 @@ jobs:
name: artifacts-${{ matrix.platform.ARTIFACT }}-${{ matrix.branch }}
path: ./out

- uses: docker://arm64v8/alpine:3.21
name: Run build (aarch64 linux alpine)
- if: matrix.platform.DISTRO == 'Alpine'
uses: docker://arm64v8/alpine:3.21
name: Run test (aarch64 linux alpine)
with:
args: sh -c "apk update && apk add curl bash git groff ${{ needs.tool-output.outputs.apk_tools }} && git config --system --add safe.directory $GITHUB_WORKSPACE && export PATH=$HOME/.ghcup/bin:$PATH && curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh && ghcup install cabal ${{ env.CABAL_VERSION }} && bash .github/scripts/test.bash"
env:
ARTIFACT: ${{ matrix.platform.ARTIFACT }}
DISTRO: ${{ matrix.platform.DISTRO }}

- if: matrix.platform.DISTRO == 'Debian'
uses: docker://arm64v8/debian:12
name: Run test (aarch64 linux debian)
with:
args: sh -c "apt-get update && apt-get install -y curl bash git groff-base ${{ needs.tool-output.outputs.apt_tools }} && git config --system --add safe.directory $GITHUB_WORKSPACE && export PATH=$HOME/.ghcup/bin:$PATH && curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh && ghcup install cabal ${{ env.CABAL_VERSION }} && bash .github/scripts/test.bash"
env:
ARTIFACT: ${{ matrix.platform.ARTIFACT }}
DISTRO: ${{ matrix.platform.DISTRO }}

test-mac-x86_64:
name: Test binary (Mac x86_64)
runs-on: macOS-15-intel
Expand Down
Loading