-
-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1104 from sss-create/dev
CI pipeline repair
- Loading branch information
Showing
7 changed files
with
160 additions
and
64 deletions.
There are no files selected for viewing
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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# partly taken from xmonad stack CI | ||
name: Stack | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- "**.md" | ||
pull_request: | ||
paths-ignore: | ||
- "**.md" | ||
|
||
jobs: | ||
stack: | ||
name: stack resolver | ||
runs-on: ubuntu-24.04 | ||
strategy: | ||
matrix: | ||
include: | ||
- resolver: lts-22 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: cache ~/.stack | ||
uses: actions/cache@v4 | ||
with: | ||
path: | | ||
~/.stack | ||
key: stack-${{ runner.os }}-${{ matrix.resolver }} | ||
|
||
- name: install stack and ghc | ||
uses: haskell-actions/setup@v2 | ||
with: | ||
enable-stack: true | ||
ghc-version: latest | ||
|
||
- name: Cache Haskell package metadata | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/.stack/pantry | ||
key: stack-pantry-${{ runner.os }}-${{ steps.cache-date.outputs.date }} | ||
|
||
- name: Cache Haskell dependencies | ||
uses: actions/cache@v4 | ||
with: | ||
path: | | ||
~/.stack/* | ||
!~/.stack/pantry | ||
!~/.stack/programs | ||
key: stack-${{ runner.os }}-${{ matrix.resolver }}-${{ steps.cache-date.outputs.date }}-${{ hashFiles('stack.yaml') }}-${{ hashFiles('*.cabal') }} | ||
restore-keys: | | ||
stack-${{ runner.os }}-${{ matrix.resolver }}-${{ steps.cache-date.outputs.date }}-${{ hashFiles('stack.yaml') }}- | ||
stack-${{ runner.os }}-${{ matrix.resolver }}-${{ steps.cache-date.outputs.date }}- | ||
- name: Update hackage index | ||
run: stack update | ||
|
||
- name: test | ||
run: | | ||
stack test \ | ||
--fast --no-terminal \ | ||
--resolver ${{ matrix.resolver }} --system-ghc \ | ||
--haddock --no-haddock-deps |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Windows | ||
on: | ||
push: | ||
paths-ignore: | ||
- "**.md" | ||
pull_request: | ||
paths-ignore: | ||
- "**.md" | ||
|
||
jobs: | ||
cabal: | ||
runs-on: windows-latest | ||
strategy: | ||
matrix: | ||
versions: | ||
# ghcup recommended | ||
- ghc: 9.4.8 | ||
cabal: 3.12.1.0 | ||
args: --allow-newer=base,template-haskell | ||
experimental: false | ||
|
||
continue-on-error: ${{ matrix.versions.experimental }} | ||
name: cabal ${{ matrix.versions.cabal }} - ghc ${{ matrix.versions.ghc }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: cache ~/.cabal/packages, ~/.cabal/store and dist-newstyle | ||
uses: actions/cache@v4 | ||
with: | ||
path: | | ||
~/.cabal/packages | ||
~/.cabal/store | ||
dist-newstyle | ||
key: cabal-${{ runner.os }}-${{ matrix.versions.ghc }} | ||
|
||
- name: install cabal and ghc | ||
uses: haskell-actions/setup@v2 | ||
with: | ||
ghc-version: ${{ matrix.versions.ghc }} | ||
cabal-version: ${{ matrix.versions.cabal }} | ||
|
||
- name: update | ||
run: cabal v2-update | ||
|
||
- name: build | ||
run: cabal v2-build ${{ matrix.versions.args }} --enable-tests --enable-benchmarks all | ||
|
||
- name: test | ||
run: cabal v2-test ${{ matrix.versions.args }} --enable-tests --enable-benchmarks all | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,14 @@ | ||
|
||
Tidal [![Build Status](https://github.com/tidalcycles/Tidal/workflows/ci/badge.svg)](https://github.com/tidalcycles/Tidal/actions) | ||
===== | ||
# Tidal <a href="https://github.com/tidalcycles/Tidal/LICENSE"><img alt="License" src="https://img.shields.io/github/license/tidalcycles/Tidal"></a> | ||
|
||
<a href="https://github.com/tidalcycles/Tidal/actions/workflows/ci.yml"><img alt="Cabal" src="https://img.shields.io/github/actions/workflow/status/tidalcycles/Tidal/ci.yml?label=Cabal&logo=githubactions&logoColor=white"></a> | ||
<a href="https://github.com/tidalcycles/Tidal/actions/workflows/stack.yml"><img alt="Stack" src="https://img.shields.io/github/actions/workflow/status/tidalcycles/Tidal/stack.yml?label=Stack&logo=githubactions&logoColor=white"></a> | ||
<a href="https://github.com/tidalcycles/Tidal/actions/workflows/nix.yml"><img alt="Nix" src="https://img.shields.io/github/actions/workflow/status/tidalcycles/Tidal/nix.yml?label=Nix&logo=githubactions&logoColor=white"></a> | ||
<a href="https://github.com/tidalcycles/Tidal/actions/workflows/windows.yml"><img alt="Windows" src="https://img.shields.io/github/actions/workflow/status/tidalcycles/Tidal/windows.yml?label=Windows&logo=githubactions&logoColor=white"></a> | ||
|
||
Language for live coding algorithmic patterns | ||
|
||
For documentation, mailing list and more info see here: | ||
https://tidalcycles.org/ | ||
|
||
You can help speed up Tidal development by contributing to the collective fund here: | ||
https://opencollective.com/tidalcycles | ||
|
||
(c) Alex McLean and contributors, 2022 | ||
|
||
Distributed under the terms of the GNU Public license version 3 (or later). | ||
For documentation, mailing list and more info see [here](https://tidalcycles.org/). | ||
You can help speed up Tidal development by [contributing to the collective fund](https://opencollective.com/tidalcycles)! | ||
|
||
(c) Alex McLean and contributors, 2025 |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,10 +10,10 @@ license-file: LICENSE | |
author: Alex McLean | ||
maintainer: Alex McLean <[email protected]>, Mike Hodnick <[email protected]> | ||
Stability: Experimental | ||
Copyright: (c) Alex McLean and other contributors, 2021 | ||
Copyright: (c) Alex McLean and other contributors, 2025 | ||
category: Sound | ||
build-type: Simple | ||
tested-with: GHC == 8.6.5, GHC == 8.8.3, GHC == 8.10.1, GHC == 9.0.1, GHC == 9.4.8, GHC == 9.8.2 | ||
tested-with: GHC == 8.6.5, GHC == 8.8.4, GHC == 8.10.7, GHC == 9.0.2, GHC == 9.4.8, GHC == 9.8.2 | ||
data-files: BootTidal.hs | ||
|
||
Extra-source-files: README.md CHANGELOG.md tidal.el | ||
|
@@ -61,7 +61,7 @@ library | |
base >=4.8 && <5 | ||
, containers < 0.8 | ||
, colour < 2.4 | ||
, hosc >= 0.21 && < 0.22 | ||
, hosc >= 0.20 && < 0.21 | ||
, text < 2.2 | ||
, parsec >= 3.1.12 && < 3.2 | ||
, network < 3.3 | ||
|
@@ -96,7 +96,7 @@ test-suite tests | |
build-depends: | ||
base ==4.* | ||
, microspec >= 0.2.0.1 | ||
, hosc >= 0.21 && < 0.22 | ||
, hosc >= 0.20 && < 0.21 | ||
, containers | ||
, parsec | ||
, tidal | ||
|