Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
hasufell committed Jun 29, 2024
1 parent 40786e0 commit 48635b8
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 9 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
ARCH: 64
DEBIAN_FRONTEND: noninteractive
TZ: Asia/Singapore
GHC_VERSION: 9.2.8
GHC_VERSION: 9.8.2
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -181,7 +181,7 @@ jobs:
TARBALL_EXT: tar.xz
ARCH: 32
TZ: Asia/Singapore
GHC_VERSION: 9.2.1
GHC_VERSION: 9.8.2
DISTRO: "Unknown"
ARTIFACT: "i386-linux-unknown"
ADD_CABAL_ARGS: "--enable-split-sections --enable-executable-static"
Expand Down Expand Up @@ -217,17 +217,18 @@ jobs:
TZ: Asia/Singapore
ARCH: ARM64
DISTRO: Debian
GHC_VERSION: 9.2.8
strategy:
fail-fast: false
matrix:
include:
- os: [self-hosted, Linux, ARM64, maerwald]
ARCH: ARM
ARTIFACT: "armv7-linux-deb10"
GHC_VERSION: 9.2.8
- os: [self-hosted, Linux, ARM64, maerwald]
ARCH: ARM64
ARTIFACT: "aarch64-linux-deb10"
GHC_VERSION: 9.8.2
steps:
- name: git config
run: |
Expand All @@ -244,6 +245,7 @@ jobs:
args: bash .github/scripts/build.sh
env:
ARTIFACT: ${{ matrix.ARTIFACT }}
GHC_VERSION: ${{ matrix.GHC }}

- if: matrix.ARCH == 'ARM64'
uses: docker://hasufell/arm64v8-debian-haskell:10
Expand All @@ -252,6 +254,7 @@ jobs:
args: bash .github/scripts/build.sh
env:
ARTIFACT: ${{ matrix.ARTIFACT }}
GHC_VERSION: ${{ matrix.GHC }}

- if: always()
name: Upload artifact
Expand All @@ -273,7 +276,7 @@ jobs:
ARCH: 64
TARBALL_EXT: tar.xz
DISTRO: na
GHC_VERSION: 9.2.8
GHC_VERSION: 9.8.2
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down Expand Up @@ -304,7 +307,7 @@ jobs:
TARBALL_EXT: tar.xz
DISTRO: na
HOMEBREW_CHANGE_ARCH_TO_ARM: 1
GHC_VERSION: 9.2.8
GHC_VERSION: 9.8.2
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down Expand Up @@ -335,7 +338,7 @@ jobs:
ARCH: 64
TARBALL_EXT: "zip"
DISTRO: na
GHC_VERSION: 9.2.8
GHC_VERSION: 9.8.2
steps:
- name: install windows deps
shell: pwsh
Expand Down Expand Up @@ -375,7 +378,7 @@ jobs:
ARCH: 64
TARBALL_EXT: tar.xz
DISTRO: na
GHC_VERSION: 9.2.8
GHC_VERSION: 9.8.2
RUNNER_OS: FreeBSD
steps:
- name: Checkout code
Expand Down
11 changes: 10 additions & 1 deletion cabal.release.project
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@ import: project-cabal/pkgs/install.config
import: project-cabal/pkgs/tests.config

constraints:
hashable -arch-native
hashable -arch-native,
tar >= 0.6.2.0,
bzlib-conduit >= 0.3.0.3,
bz2 >= 1.0.1.1,
bzlib >= 0.5.2.0,
directory >= 1.3.8.3,
filepath == 1.4.101.0 || == 1.4.300.1 || >= 1.5.2.0

package zlib
flags: -pkg-config +bundled-c-zlib

index-state: hackage.haskell.org 2024-06-17T00:00:01Z
11 changes: 10 additions & 1 deletion cabal.validate.project
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,13 @@ program-options
-- This project file is used to distribute the cabal-head binary,
-- as such we cannot enable "-march=native".
constraints:
hashable -arch-native
hashable -arch-native,
tar >= 0.6.2.0,
bzlib-conduit >= 0.3.0.3,
bz2 >= 1.0.1.1,
bzlib >= 0.5.2.0,
directory >= 1.3.8.3,
filepath == 1.4.101.0 || == 1.4.300.1 || >= 1.5.2.0

package zlib
flags: -pkg-config +bundled-c-zlib

0 comments on commit 48635b8

Please sign in to comment.