mirror of
https://github.com/google/ghc-source-gen.git
synced 2024-12-02 10:03:30 +03:00
cf558caba5
Lets us build it with (unreleased) ghc-8.8. Also makes it possible to test in CI without adding more dependencies.
18 lines
489 B
Bash
Executable File
18 lines
489 B
Bash
Executable File
#!/bin/bash
|
|
# Copyright 2019 Google LLC
|
|
#
|
|
# Use of this source code is governed by a BSD-style
|
|
# license that can be found in the LICENSE file or at
|
|
# https://developers.google.com/open-source/licenses/bsd
|
|
|
|
# This script tests that ghc-source-gen works on multiple GHC versions.
|
|
# TODO: turn this into a CI script.
|
|
|
|
set -ueo pipefail
|
|
|
|
for flag in --resolver={lts-11.22,lts-12.8,lts-13.23} --stack-yaml=stack-8.8.yaml
|
|
do
|
|
echo ====== $flag ======
|
|
stack test --no-terminal $flag
|
|
done
|