-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Drop support for GHC versions before 8.0, base 4.9 Also shed much CPP baggage and a no longer needed FFI helper. * Drop redundant CI jobs * Restore cabal file Co-authored-by: Viktor Dukhovni <[email protected]> Co-authored-by: Bodigrim <[email protected]>
- Loading branch information
1 parent
d52d42d
commit 784cdd7
Showing
24 changed files
with
38 additions
and
498 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,47 +11,13 @@ defaults: | |
shell: bash | ||
|
||
jobs: | ||
build-old: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
os: [ubuntu-latest] | ||
ghc: ['7.0.4', '7.2.2', '7.4.2', '7.6.3', '7.8.4'] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Update cabal package database | ||
run: cabal update | ||
- uses: actions/[email protected] | ||
name: Cache cabal stuff | ||
with: | ||
path: | | ||
${{ steps.setup-haskell-cabal.outputs.cabal-store }} | ||
dist-newstyle | ||
key: ${{ runner.os }}-${{ matrix.ghc }} | ||
- name: Install GHC | ||
run: | | ||
sudo add-apt-repository ppa:hvr/ghc -y | ||
sudo apt-get update | ||
sudo apt-get install ghc-${{ matrix.ghc }} | ||
- name: Test | ||
run: | | ||
cabal sdist -z -o . | ||
cabal get bytestring-*.tar.gz | ||
cd bytestring-*/ | ||
cp ../cabal.project . | ||
cabal test -w /opt/ghc/bin/ghc-${{ matrix.ghc }} --test-show-details=direct | ||
- name: Haddock | ||
run: cabal haddock -w /opt/ghc/bin/ghc-${{ matrix.ghc }} | ||
|
||
build: | ||
needs: build-old | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
os: [ubuntu-latest] | ||
ghc: ['7.10', '8.0', '8.2', '8.4', '8.6', '8.8', '8.10', '9.0'] | ||
ghc: ['8.0', '8.2', '8.4', '8.6', '8.8', '8.10', '9.0'] | ||
include: | ||
- os: windows-latest | ||
ghc: 'latest' | ||
|
@@ -89,7 +55,6 @@ jobs: | |
run: cabal haddock | ||
|
||
build-freebsd: | ||
needs: build | ||
# This job intentionally is using macOS because at the time of the writing | ||
# Linux and Windows environments don't have the necessary virtualization features. | ||
# See https://github.com/vmactions/freebsd-vm#under-the-hood. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.