Add scripts/interactive-release.sh for automated releases #69
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 job runs `cabal build all` on Linux with all supported GHC versions. | |
# Normally, if Nix can build the shell and the packages via haskell.nix, we can be confident that | |
# Cabal can build the project inside the Nix shell. | |
# However, this workflow is implemented to catch edge cases, such as the one described in | |
# https://github.com/IntersectMBO/plutus/issues/6625. | |
# | |
# This job runs on all pull requests and on push to master, and it can also be triggered manually. | |
name: "👷 Cabal Build All" | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: [plutus-ci, self-hosted] | |
strategy: | |
matrix: | |
ghc: [ghc810, ghc910, ghc96, ghc98] | |
fail-fast: false | |
steps: | |
- name: Checkout | |
uses: actions/checkout@main | |
- name: Cold Build / ${{ matrix.ghc }} / x86_64-linux | |
run: | | |
nix develop --no-warn-dirty --accept-flake-config .#${{ matrix.ghc }} \ | |
--command bash -c 'cabal clean && cabal update && cabal build all' |