diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7e277db2..b213af49 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,3 +37,10 @@ jobs: - name: Cabal test run: | cabal test all --enable-tests --test-show-details=Always --project-file=cabal.project.${{ matrix.ghc }} + - name: Cache stack build artifacts + uses: freckle/stack-cache-action@v1.0.1 + with: + stack-yaml: stack.${{ matrix.ghc }}.yaml + - name: Stack build and test + run: | + stack build --system-ghc --test --stack-yaml stack.${{ matrix.ghc }}.yaml diff --git a/stack.8.10.7.yaml b/stack.8.10.7.yaml new file mode 100644 index 00000000..fa08a6b7 --- /dev/null +++ b/stack.8.10.7.yaml @@ -0,0 +1,9 @@ +resolver: lts-18.21 + +packages: +- rhine +- rhine-examples +- rhine-gloss + +extra-deps: +- time-domain-0.1.0.0@sha256:48146872e85f46399e8b8d7ff7c3d3b7f530e2de167b6893ba3ce649ba2e2e75,800 diff --git a/stack.8.8.4.yaml b/stack.8.8.4.yaml new file mode 100644 index 00000000..5847084c --- /dev/null +++ b/stack.8.8.4.yaml @@ -0,0 +1,9 @@ +resolver: lts-16.31 + +packages: +- rhine +- rhine-examples +- rhine-gloss + +extra-deps: +- time-domain-0.1.0.0@sha256:48146872e85f46399e8b8d7ff7c3d3b7f530e2de167b6893ba3ce649ba2e2e75,800 diff --git a/stack.8.8.4.yaml.lock b/stack.8.8.4.yaml.lock new file mode 100644 index 00000000..44414abb --- /dev/null +++ b/stack.8.8.4.yaml.lock @@ -0,0 +1,19 @@ +# This file was autogenerated by Stack. +# You should not edit this file by hand. +# For more information, please see the documentation at: +# https://docs.haskellstack.org/en/stable/lock_files + +packages: +- completed: + hackage: time-domain-0.1.0.0@sha256:48146872e85f46399e8b8d7ff7c3d3b7f530e2de167b6893ba3ce649ba2e2e75,800 + pantry-tree: + size: 223 + sha256: afa0bf300d4ebf038bdea9d3990c0075743c9d20ffc9cb43db862a93342f7ba4 + original: + hackage: time-domain-0.1.0.0@sha256:48146872e85f46399e8b8d7ff7c3d3b7f530e2de167b6893ba3ce649ba2e2e75,800 +snapshots: +- completed: + size: 534126 + url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/16/31.yaml + sha256: 637fb77049b25560622a224845b7acfe81a09fdb6a96a3c75997a10b651667f6 + original: lts-16.31 diff --git a/stack.9.0.2.yaml b/stack.9.0.2.yaml new file mode 100644 index 00000000..2f5187ca --- /dev/null +++ b/stack.9.0.2.yaml @@ -0,0 +1,10 @@ +resolver: lts-19.08 + +packages: +- rhine +- rhine-examples +- rhine-gloss + +extra-deps: +- time-domain-0.1.0.0@sha256:48146872e85f46399e8b8d7ff7c3d3b7f530e2de167b6893ba3ce649ba2e2e75,800 + diff --git a/stack.9.0.2.yaml.lock b/stack.9.0.2.yaml.lock new file mode 100644 index 00000000..64e4a60c --- /dev/null +++ b/stack.9.0.2.yaml.lock @@ -0,0 +1,19 @@ +# This file was autogenerated by Stack. +# You should not edit this file by hand. +# For more information, please see the documentation at: +# https://docs.haskellstack.org/en/stable/lock_files + +packages: +- completed: + hackage: time-domain-0.1.0.0@sha256:48146872e85f46399e8b8d7ff7c3d3b7f530e2de167b6893ba3ce649ba2e2e75,800 + pantry-tree: + size: 223 + sha256: afa0bf300d4ebf038bdea9d3990c0075743c9d20ffc9cb43db862a93342f7ba4 + original: + hackage: time-domain-0.1.0.0@sha256:48146872e85f46399e8b8d7ff7c3d3b7f530e2de167b6893ba3ce649ba2e2e75,800 +snapshots: +- completed: + size: 618506 + url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/19/8.yaml + sha256: f1c4aca9b9b81afbb9db55571acb0690cdc01ac97a178234de281f9dc075e95e + original: lts-19.8 diff --git a/stack.yaml b/stack.yaml deleted file mode 100644 index ecf7d4fc..00000000 --- a/stack.yaml +++ /dev/null @@ -1,5 +0,0 @@ -resolver: lts-15.5 -packages: -- rhine -- rhine-examples -- rhine-gloss diff --git a/stack.yaml b/stack.yaml new file mode 120000 index 00000000..eb30fea6 --- /dev/null +++ b/stack.yaml @@ -0,0 +1 @@ +stack.8.10.7.yaml \ No newline at end of file diff --git a/stack.yaml.lock b/stack.yaml.lock new file mode 100644 index 00000000..57c9e6a2 --- /dev/null +++ b/stack.yaml.lock @@ -0,0 +1,19 @@ +# This file was autogenerated by Stack. +# You should not edit this file by hand. +# For more information, please see the documentation at: +# https://docs.haskellstack.org/en/stable/lock_files + +packages: +- completed: + hackage: time-domain-0.1.0.0@sha256:48146872e85f46399e8b8d7ff7c3d3b7f530e2de167b6893ba3ce649ba2e2e75,800 + pantry-tree: + size: 223 + sha256: afa0bf300d4ebf038bdea9d3990c0075743c9d20ffc9cb43db862a93342f7ba4 + original: + hackage: time-domain-0.1.0.0@sha256:48146872e85f46399e8b8d7ff7c3d3b7f530e2de167b6893ba3ce649ba2e2e75,800 +snapshots: +- completed: + size: 586110 + url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/18/21.yaml + sha256: ce4fb8d44f3c6c6032060a02e0ebb1bd29937c9a70101c1517b92a87d9515160 + original: lts-18.21