Coder Social home page Coder Social logo

hs-bash-script's Introduction

cmark-combinators - Simple utility around CMark for Haskell

A light-weight Haskell utility library for generating Bash scripts.

Contribution

Please feel free to open an issue, but also please search for existing issues to check if there already is a similar one.

See CONTRIBUTING.md for more details.

Matrix Build

To add/remove a specific ghc version to/from the tested versions, you can just add/remove cabal's freeze file as ci/configs/ghc-X.X.X.project and add the following to the header:

import: ../../cabal.project
-- FIXME: Use Appropriate timestamp for index-state
index-state: hackage.haskell.org 2024-02-05T22:44:18Z

Note that the actual value of index-state should be sufficiently new.

Except this, no modification to Action worklow file is needed in general. The following is the example command to add the ghc-9.8.1 with the most recent Stackage Nightly:

curl --location https://www.stackage.org/nightly/cabal.config > ./ci/configs/ghc-9.8.1.project
cat <<EOF >>./ci/configs/ghc-9.8.1.project
import: ../../cabal.project
-- FIXME: Use an appropriate timestamp for index-state
index-state: hackage.haskell.org 2024-02-05T22:44:18Z
EOF

Note that we might have to edit with-compiler stanza of the downloaded freeze file when you want to test GHC version different from Stackage's default version.

If you want to test some breeding-edge version of GHC but to allow failure, name freeze file as ghc-X.X.X-head.project.

curl --location https://www.stackage.org/nightly/cabal.config > ./ci/configs/ghc-9.10.1-head.project

Copyright

2024 (c) DeepFlow, Inc.

hs-bash-script's People

Contributors

konn avatar

Stargazers

 avatar

Watchers

 avatar  avatar Lugendre avatar  avatar

hs-bash-script's Issues

Enable tests for various GHC versions

After making this repo public, we must enable matrix tests for GHC 9.2, 9.4, 9.6, and 9.8.

  • Modifies .github/workflows.haskell.yml
  • Modifies Branch Protection Rule

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.