Skip to content

fix(mt-kahypar): include growt patch for int128 #73

fix(mt-kahypar): include growt patch for int128

fix(mt-kahypar): include growt patch for int128 #73

Workflow file for this run

name: CI
on:
- push
jobs:
Build:
strategy:
fail-fast: false
matrix:
target:
- double: x86_64-linux # target we are building for
system: x86_64-linux # host system the build is running on
runner: ubuntu-24.04 # GitHub runner the build is running on
flake: bundled # flake part to build
- double: aarch64-linux
system: aarch64-linux
runner: ubuntu-24.04
flake: bundled
- double: x86_64-darwin
system: x86_64-darwin
runner: macos-13
flake: bundled
- double: aarch64-darwin
system: aarch64-darwin
runner: macos-latest
flake: bundled
- double: x86_64-windows
system: x86_64-linux
runner: ubuntu-24.04
flake: bundled-windows
runs-on: ${{ matrix.target.runner }}
steps:
- name: Checkout
uses: actions/checkout@v4
# aarch64-linux builds are emulated on x86_64-linux.
- name: QEMU
if: ${{ matrix.target.double == 'aarch64-linux' }}
run: sudo apt-get install -y qemu-user-static
- name: Nix
uses: DeterminateSystems/nix-installer-action@v10
with:
extra-conf: system = ${{ matrix.target.system }}
- name: Cache
uses: DeterminateSystems/magic-nix-cache-action@v4
- name: Build
run: nix build -L .#${{ matrix.target.flake }}
- name: Set interpreter
if: ${{ matrix.target.double == 'x86_64-linux'}}
run: |
cp -rL result output
rm -rf result
chmod +w output/bin/d4
nix run nixpkgs#patchelf -- --set-interpreter /lib64/ld-linux-x86-64.so.2 output/bin/d4
chmod -w output/bin/d4
mv output result
- name: Upload
uses: actions/upload-artifact@v4
with:
name: d4-${{ matrix.target.double }}
path: result