diff --git a/.appveyor.yml b/.appveyor.yml deleted file mode 100644 index 690f381..0000000 --- a/.appveyor.yml +++ /dev/null @@ -1,18 +0,0 @@ -build: off - -before_test: - # http://help.appveyor.com/discussions/problems/6312-curl-command-not-found - - set PATH=C:\Program Files\Git\mingw64\bin;%PATH% - - curl -sS -o stack.zip -L --insecure http://www.stackage.org/stack/windows-i386 - - 7z x stack.zip stack.exe - -clone_folder: "c:\\stack" -environment: - global: - STACK_ROOT: "c:\\sr" - -test_script: - - stack setup > nul - # The ugly echo "" hack is to avoid complaints about 0 being an invalid file - # descriptor - - echo "" | stack --no-terminal build \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e564979..b6112ca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: @@ -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 @@ -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: | @@ -94,10 +96,12 @@ 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: | @@ -105,7 +109,9 @@ jobs: 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/ diff --git a/.hgignore b/.hgignore deleted file mode 100644 index cd7fdde..0000000 --- a/.hgignore +++ /dev/null @@ -1,5 +0,0 @@ -^dist$ -\.(?:aux|eventlog|h[ip]|log|[oa]|orig|prof|ps|swp)$ -~$ -syntax: glob -.\#* diff --git a/.hgtags b/.hgtags deleted file mode 100644 index 2cc29e7..0000000 --- a/.hgtags +++ /dev/null @@ -1,15 +0,0 @@ -38bbc9ffdc3caaab446c90395242611f983b14db 0.1.0.0 -c9130ac5dbe0c549013f6ffc4a29aeb14fe47dfd 0.1.1.0 -bf64c2b8cd67548e127ddf8c0d1ff63a85a3c85b 0.1.1.1 -30081339b6660104413b6a8c7f5a4ac7062570cd 0.1.1.2 -f54a992918d75eb18ce3511f1f1318877f429362 0.1.3.0 -a609b8238a24d33adf32022120753e2975d345f6 0.10.3.0 -5b10f37b6178c4d5ba1cbfd8402622e59b68ca6b 0.1.5.1 -d902a472f4dfdf23429726e78ae4e3adff150233 0.1.5.2 -ac81c6d016e98549c17ec8a4d8b102f1292a85e3 0.1.5.3 -44bbe43a2c05b753965015d9e1794922530bfd9c 0.1.6.0 -c89bbd664a798b994d00af72e5b8796a8611ecaa 0.1.7.0 -ce16f5cd7d5f79f2576ec84ceaa325aa4f6161ed 0.2.0.0 -f6dc7f5b55ec209e714384d250535c5e6ebe6e7e 0.2.0.1 -ab7908c8120bf2267f1d32d3ac6b9fb6b43bc5f9 0.2.0.2 -449e2346cd1574fe1a92d5dbe91455c608b1496a 0.2.1.0 diff --git a/README.markdown b/README.markdown index 3ab920d..9df4bc8 100644 --- a/README.markdown +++ b/README.markdown @@ -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: @@ -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 diff --git a/Setup.hs b/Setup.hs deleted file mode 100644 index 9a994af..0000000 --- a/Setup.hs +++ /dev/null @@ -1,2 +0,0 @@ -import Distribution.Simple -main = defaultMain diff --git a/math-functions.cabal b/math-functions.cabal index 9d47294..2a1d000 100644 --- a/math-functions.cabal +++ b/math-functions.cabal @@ -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