Skip to content
Merged
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
18 changes: 0 additions & 18 deletions .appveyor.yml

This file was deleted.

70 changes: 38 additions & 32 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,38 +18,40 @@ jobs:
matrix:
include:
# -- Linux --
- { cabal: "3.10", os: ubuntu-latest, ghc: "8.0.2" }
- { cabal: "3.10", os: ubuntu-latest, ghc: "8.2.2" }
- { cabal: "3.10", os: ubuntu-latest, ghc: "8.4.4" }
- { cabal: "3.10", os: ubuntu-latest, ghc: "8.6.5" }
- { cabal: "3.10", os: ubuntu-latest, ghc: "8.8.4" }
- { cabal: "3.10", os: ubuntu-latest, ghc: "8.10.7" }
- { cabal: "3.10", os: ubuntu-latest, ghc: "9.0.2" }
- { cabal: "3.10", os: ubuntu-latest, ghc: "9.2.8" }
- { cabal: "3.10", os: ubuntu-latest, ghc: "9.4.8" }
- { cabal: "3.10", os: ubuntu-latest, ghc: "9.4.8", flags: "-system-erf" }
- { cabal: "3.10", os: ubuntu-latest, ghc: "9.4.8", flags: "-system-expm1"}
- { cabal: "3.10", os: ubuntu-latest, ghc: "9.6.4" }
- { cabal: "3.10", os: ubuntu-latest, ghc: "9.8.2" }
- { cabal: "3.14", os: ubuntu-latest, ghc: "8.0.2" }
- { cabal: "3.14", os: ubuntu-latest, ghc: "8.2.2" }
- { cabal: "3.14", os: ubuntu-latest, ghc: "8.4.4" }
- { cabal: "3.14", os: ubuntu-latest, ghc: "8.6.5" }
- { cabal: "3.14", os: ubuntu-latest, ghc: "8.8.4" }
- { cabal: "3.14", os: ubuntu-latest, ghc: "8.10.7" }
- { cabal: "3.14", os: ubuntu-latest, ghc: "9.0.2" }
- { cabal: "3.14", os: ubuntu-latest, ghc: "9.2.8" }
- { cabal: "3.14", os: ubuntu-latest, ghc: "9.4.8" }
- { cabal: "3.14", os: ubuntu-latest, ghc: "9.4.8", flags: "-system-erf" }
- { cabal: "3.14", os: ubuntu-latest, ghc: "9.4.8", flags: "-system-expm1"}
- { cabal: "3.14", os: ubuntu-latest, ghc: "9.6.7" }
- { cabal: "3.14", os: ubuntu-latest, ghc: "9.8.4" }
- { cabal: "3.14", os: ubuntu-latest, ghc: "9.10.2" }
- { cabal: "3.14", os: ubuntu-latest, ghc: "9.12.2" }
# -- Win --
- { cabal: "3.10", os: windows-latest, ghc: "8.4.4" }
- { cabal: "3.10", os: windows-latest, ghc: "8.6.5" }
- { cabal: "3.10", os: windows-latest, ghc: "8.8.4" }
- { cabal: "3.10", os: windows-latest, ghc: "8.10.7" }
- { cabal: "3.10", os: windows-latest, ghc: "9.0.2" }
- { cabal: "3.10", os: windows-latest, ghc: "9.2.8" }
- { cabal: "3.10", os: windows-latest, ghc: "9.4.8" }
- { cabal: "3.10", os: windows-latest, ghc: "9.6.4" }
- { cabal: "3.10", os: windows-latest, ghc: "9.8.2" }
- { cabal: "3.14", os: windows-latest, ghc: "8.4.4" }
- { cabal: "3.14", os: windows-latest, ghc: "8.6.5" }
- { cabal: "3.14", os: windows-latest, ghc: "8.8.4" }
- { cabal: "3.14", os: windows-latest, ghc: "8.10.7" }
- { cabal: "3.14", os: windows-latest, ghc: "9.0.2" }
- { cabal: "3.14", os: windows-latest, ghc: "9.2.8" }
- { cabal: "3.14", os: windows-latest, ghc: "9.4.8" }
- { cabal: "3.14", os: windows-latest, ghc: "9.6.7" }
- { cabal: "3.14", os: windows-latest, ghc: "9.8.4" }
- { cabal: "3.14", os: windows-latest, ghc: "9.10.2" }
- { cabal: "3.14", os: windows-latest, ghc: "9.12.2" }
# MacOS
- { cabal: "3.10", os: macOS-latest, ghc: "8.4.4" }
- { cabal: "3.10", os: macOS-latest, ghc: "8.6.5" }
- { cabal: "3.10", os: macOS-latest, ghc: "8.8.4" }
- { cabal: "3.10", os: macOS-latest, ghc: "8.10.7" }
- { cabal: "3.10", os: macOS-latest, ghc: "9.2.8" }
- { cabal: "3.10", os: macOS-latest, ghc: "9.4.8" }
- { cabal: "3.10", os: macOS-latest, ghc: "9.6.4" }
- { cabal: "3.10", os: macOS-latest, ghc: "9.8.2" }
- { cabal: "3.14", os: macOS-latest, ghc: "9.2.8" }
- { cabal: "3.14", os: macOS-latest, ghc: "9.4.8" }
- { cabal: "3.14", os: macOS-latest, ghc: "9.6.7" }
- { cabal: "3.14", os: macOS-latest, ghc: "9.8.4" }
- { cabal: "3.14", os: macOS-latest, ghc: "9.10.2" }
- { cabal: "3.14", os: macOS-latest, ghc: "9.12.2" }
fail-fast: false

steps:
Expand All @@ -59,7 +61,7 @@ jobs:
echo M1 ${{ matrix.ghc }}
echo M2 ${{ matrix.skip-bench }}
# ----------------
- uses: actions/checkout@v4
- uses: actions/checkout@v5
# ----------------
- uses: haskell-actions/setup@v2
id: setup-haskell-cabal
Expand All @@ -72,7 +74,7 @@ jobs:
name: Cache ~/.cabal/store
with:
path: ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
key: ${{ runner.os }}-${{ matrix.ghc }}--${{ github.Shah }}
key: ${{ runner.os }}-${{ matrix.ghc }}--
# ----------------
- name: "Install PAPI"
run: |
Expand All @@ -94,18 +96,22 @@ jobs:
mkdir unpacked
tar -C unpacked -xzf sdist/math-function*tar.gz
cd unpacked
mv math-functions-*/* .
# ----------------
- name: cabal check
run: |
cabal -vnormal check
working-directory: unpacked/
# ----------------
- name: Build
run: |
if [ "${{ matrix.skip-test }}" == "" ]; then FLAG_TEST=--enable-test; fi
if [ "${{ matrix.skip-bench }}" == "" ]; then FLAG_BENCH=--enable-benchmarks; fi
cabal configure $FLAG_PAPI $FLAG_TEST $FLAG_BENCH --flags='${{matrix.flags}}'
cabal build all --write-ghc-environment-files=always
working-directory: unpacked/
# ----------------
- name: Test
run: |
cabal test all
working-directory: unpacked/
5 changes: 0 additions & 5 deletions .hgignore

This file was deleted.

15 changes: 0 additions & 15 deletions .hgtags

This file was deleted.

12 changes: 2 additions & 10 deletions README.markdown
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# math-functions: collection of tools for numeric computations

[![Build Status](https://travis-ci.org/Shimuuar/math-functions.png?branch=master)](https://travis-ci.org/Shimuuar/math-functions)
[![Build status](https://ci.appveyor.com/api/projects/status/6xexxj9g6rnbg2q4/branch/master?svg=true)](https://ci.appveyor.com/project/Shimuuar/math-functions/branch/master)

This package provides collection of various tools for numeric
computations. Namely:

Expand All @@ -24,17 +21,12 @@ estimates for the algorithms used.
# Get involved!

Please report bugs via the
[github issue tracker](https://github.com/bos/math-functions/issues).
[github issue tracker](https://github.com/haskell/math-functions/issues).

Master [git mirror](https://github.com/bos/math-functions):
Master [git mirror](https://github.com/haskell/math-functions):

* `git clone git://github.com/bos/math-functions.git`

There's also a [Mercurial mirror](https://bitbucket.org/bos/math-functions):

* `hg clone https://bitbucket.org/bos/math-functions`

(You can create and contribute changes using either Mercurial or git.)


# Authors
Expand Down
2 changes: 0 additions & 2 deletions Setup.hs

This file was deleted.

2 changes: 1 addition & 1 deletion math-functions.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ extra-source-files:

source-repository head
type: git
location: https://github.com/bos/math-functions
location: https://github.com/haskell/math-functions

flag system-expm1
description: Use expm1 provided by GHC. On GHCJS we don't have one so we
Expand Down
Loading