Skip to content

Commit

Permalink
Remove CI and testing for GHCJS 8.6 (haskell-servant#1746)
Browse files Browse the repository at this point in the history
This old version is expensive to maintain and the project
has stopped development in favour of GHC's own JS backend.
  • Loading branch information
tchoutri authored Apr 30, 2024
1 parent 752e768 commit 619337e
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 48 deletions.
45 changes: 0 additions & 45 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,48 +90,3 @@ jobs:
${{ steps.setup-haskell-cabal.outputs.cabal-store }}
dist-newstyle
key: ${{ runner.os }}-ghc-${{ matrix.ghc }}-cabal-${{ hashFiles('./.plan.json') }}

ghcjs:
name: ubuntu-latest / ghcjs 8.6
runs-on: "ubuntu-latest"

steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v20
with:
extra_nix_config: |
trusted-public-keys = ryantrinkle.com-1:JJiAKaRv9mWgpVAz8dwewnZe0AzzEAzPkagE9SP5NWI=1aba6f367982bd6dd78ec2fda75ab246a62d32c5 cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
substituters = https://nixcache.reflex-frp.org https://cache.nixos.org/
nix_path: nixpkgs=channel:release-22.11

- name: Setup
run: |
# Override cabal.project with the lightweight GHCJS one
cp cabal.ghcjs.project cabal.project
cat cabal.project
nix-shell ghcjs.nix --run "cabal v2-update && cabal v2-freeze"
- name: Cache
uses: actions/cache@v4
with:
path: |
~/.cabal/store
dist-newstyle
key: ${{ runner.os }}-ghcjs8.6-cabal-${{ hashFiles('./.plan.json') }}
restore-keys: ${{ runner.os }}-ghc-${{ matrix.ghc }}-

- name: Build
run: |
nix-shell ghcjs.nix --run "cabal v2-build --ghcjs --enable-tests --enable-benchmarks all"
- name: Tests
run: |
nix-shell ghcjs.nix --run ".github/run-ghcjs-tests.sh"
- name: Save cache
uses: actions/cache/save@v4
if: always()
with:
path: |
~/.cabal/store
dist-newstyle
key: ${{ runner.os }}-ghcjs8.6-${{ hashFiles('cabal.project.freeze') }}
1 change: 0 additions & 1 deletion servant-client-core/servant-client-core.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ maintainer: [email protected]
copyright: 2014-2016 Zalora South East Asia Pte Ltd, 2016-2019 Servant Contributors
build-type: Simple
tested-with: GHC ==8.10.7, GHC ==9.0.2, GHC ==9.2.8, GHC ==9.4.8, GHC ==9.6.4, GHC ==9.8.2
, GHCJS ==8.6.0.1

extra-source-files:
CHANGELOG.md
Expand Down
1 change: 0 additions & 1 deletion servant-client/servant-client.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ maintainer: [email protected]
copyright: 2014-2016 Zalora South East Asia Pte Ltd, 2016-2019 Servant Contributors
build-type: Simple
tested-with: GHC ==8.10.7, GHC ==9.0.2, GHC ==9.2.8, GHC ==9.4.8, GHC ==9.6.4, GHC ==9.8.2
, GHCJS ==8.6.0.1

extra-source-files:
CHANGELOG.md
Expand Down
1 change: 0 additions & 1 deletion servant/servant.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ maintainer: [email protected]
copyright: 2014-2016 Zalora South East Asia Pte Ltd, 2016-2019 Servant Contributors
build-type: Simple
tested-with: GHC ==8.10.7, GHC ==9.0.2, GHC ==9.2.8, GHC ==9.4.8, GHC ==9.6.4, GHC ==9.8.2
, GHCJS ==8.6.0.1

extra-source-files:
CHANGELOG.md
Expand Down

0 comments on commit 619337e

Please sign in to comment.