Skip to content

chore: Update version to 1.0.1.1 in dataframe-operations.cabal #146

chore: Update version to 1.0.1.1 in dataframe-operations.cabal

chore: Update version to 1.0.1.1 in dataframe-operations.cabal #146

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
build:
name: GHC ${{ matrix.ghc }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ghc: ["9.6.7", "9.8.4", "9.10.3", "9.12.2"]
steps:
- uses: actions/checkout@v4
- uses: haskell-actions/setup@v2
id: setup
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: latest
# dataframe-fusion's DataFusion crate links against bzip2, xz and zlib;
# the default ubuntu-latest image doesn't ship the -dev packages.
- name: Install system C libraries for dataframe-fusion
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
libbz2-dev liblzma-dev zlib1g-dev
- name: Set LIBTORCH_HOME
run: echo "LIBTORCH_HOME=$HOME/.cache/libtorch" >> $GITHUB_ENV
# The repo's cabal.project already lists every satellite
# (dataframe-core, dataframe-parsing, dataframe-operations,
# dataframe-csv, dataframe-json, dataframe-parquet, dataframe-th,
# dataframe-csv-th, dataframe-parquet-th, dataframe-viz,
# dataframe-learn, dataframe-lazy) plus the meta package, examples,
# and the pre-existing satellites. No regeneration needed.
- name: Freeze
run: cabal freeze
- name: Cache
uses: actions/cache@v4
with:
path: |
${{ steps.setup.outputs.cabal-store }}
${{ env.LIBTORCH_HOME }}
key: ${{ runner.os }}-ghc-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
restore-keys: ${{ runner.os }}-ghc-${{ matrix.ghc }}-
- name: Build all packages
run: |
./examples/setup_torch.sh
cabal build all
- name: Test all packages
run: cabal test all