Skip to content
Open
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .github/workflows/bootstrap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
- if: runner.os == 'Linux'
name: Run bootstrap
run: |
sudo apt-get update -y
sudo apt-get install -y libnuma-dev zlib1g-dev libgmp-dev libgmp10 libssl-dev liblzma-dev libbz2-dev git wget lsb-release software-properties-common gnupg2 apt-transport-https gcc autoconf automake build-essential curl gzip
sh ./.github/scripts/bootstrap.sh
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cabal.project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- if: runner.os == 'Linux'
name: Install prerequisites
run: |
sudo apt update
sudo apt update -y
sudo apt install -y libbz2-dev

- name: Install GHCup
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
include:
- os: ubuntu-latest
ARTIFACT: "i386-linux-ghcup"
GHC_VER: 8.10.7
GHC_VER: 9.10.1
ARCH: 32
- os: ubuntu-latest
ARTIFACT: "x86_64-linux-ghcup"
Expand Down Expand Up @@ -272,7 +272,7 @@ jobs:
include:
- os: ubuntu-latest
ARTIFACT: "i386-linux-ghcup"
GHC_VER: 8.10.7
GHC_VER: 9.10.1
ARCH: 32
DISTRO: Alpine
- os: ubuntu-latest
Expand Down Expand Up @@ -323,6 +323,7 @@ jobs:
- if: matrix.DISTRO != 'Alpine'
name: Run test (64 bit linux)
run: |
sudo apt update -y
sudo apt-get install -y libnuma-dev zlib1g-dev libgmp-dev libgmp10 libssl-dev liblzma-dev libbz2-dev git wget lsb-release software-properties-common gnupg2 apt-transport-https gcc autoconf automake build-essential curl gzip
sh .github/scripts/test.sh
env:
Expand Down Expand Up @@ -534,6 +535,7 @@ jobs:

- name: Run hls build
run: |
sudo apt update -y
sudo apt-get install -y libnuma-dev zlib1g-dev libgmp-dev libgmp10 libssl-dev liblzma-dev libbz2-dev git wget lsb-release software-properties-common gnupg2 apt-transport-https gcc autoconf automake build-essential curl gzip
sh .github/scripts/hls.sh

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- if: runner.os == 'Linux'
name: Install prerequisites
run: |
sudo apt update
sudo apt update -y
sudo apt install -y libbz2-dev

- name: Install GHCup
Expand Down
12 changes: 10 additions & 2 deletions cabal.project.release
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,20 @@ package libyaml
if os(linux)
package ghcup
flags: +yaml-streamly
constraints: xz -system-xz
if arch(x86_64) || arch(i386)
if arch(x86_64)
constraints: xz -system-xz
flags: -tar
executable-static: True
package *
ghc-options: -split-sections
elif arch(i386)
constraints: xz +system-xz
flags: -tar
executable-static: True
package *
ghc-options: -split-sections
elif arch(aarch64)
constraints: xz -system-xz
elif arch(arm)
flags: +tar
else
Expand Down
Loading