Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
977296d
Update build.yml
sol Dec 11, 2025
e2bb70e
Update and rename build.yml to foo.yml
sol Dec 11, 2025
692e7ba
Update foo.yml
sol Dec 11, 2025
4989b07
Update foo.yml
sol Dec 11, 2025
d2c1c88
Update foo.yml
sol Dec 11, 2025
5945219
Update foo.yml
sol Dec 11, 2025
4c70dc2
Update foo.yml
sol Dec 11, 2025
22645bf
Update foo.yml
sol Dec 11, 2025
2df6080
Update foo.yml
sol Dec 11, 2025
58f5210
Update foo.yml
sol Dec 11, 2025
002b622
Update foo.yml
sol Dec 11, 2025
e52b80f
Update foo.yml
sol Dec 11, 2025
4585e17
Update foo.yml
sol Dec 11, 2025
1bf187d
Update foo.yml
sol Dec 11, 2025
27ab2dc
Update foo.yml
sol Dec 11, 2025
ef8ce6e
Update foo.yml
sol Dec 11, 2025
518ee08
Update foo.yml
sol Dec 11, 2025
9ca67bf
Update foo.yml
sol Dec 11, 2025
4b5d715
Update foo.yml
sol Dec 11, 2025
2a020bb
Update foo.yml
sol Dec 11, 2025
e1d8a0d
Update foo.yml
sol Dec 11, 2025
2599312
Update foo.yml
sol Dec 11, 2025
032a2fd
Update foo.yml
sol Dec 11, 2025
6715dcc
Update foo.yml
sol Dec 11, 2025
5888b79
Update foo.yml
sol Dec 11, 2025
51bdb0f
Update foo.yml
sol Dec 11, 2025
52eed9c
Update foo.yml
sol Dec 11, 2025
c6703e8
Create fast.yml
sol Dec 11, 2025
f931b06
Rename fast.yml to fast/action.yml
sol Dec 11, 2025
890da10
Update action.yml
sol Dec 11, 2025
c281aba
Update action.yml
sol Dec 11, 2025
72aab8d
Update action.yml
sol Dec 11, 2025
279db71
Create binary distributions for ubuntu-22.04
sol Dec 11, 2025
05e38d3
Create binary distributions for macos-latest
sol Dec 11, 2025
bee93bc
Delete .github/workflows/foo.yml
sol Dec 11, 2025
5445582
Create build.yml
sol Dec 11, 2025
d3aae83
Update dist-macos-latest.yml
sol Dec 11, 2025
a3d6c0a
Update dist-ubuntu-22.04.yml
sol Dec 11, 2025
3b0da43
Update dist-macos-latest.yml
sol Dec 12, 2025
e2f9a51
Update dist-ubuntu-22.04.yml
sol Dec 12, 2025
c6d5841
Update dist-macos-latest.yml
sol Dec 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/workflows/dist-macos-latest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: dist-macos-latest

permissions:
contents: write

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

on:
workflow_dispatch:
pull_request:

jobs:
build:
name: ${{ matrix.os }} / GHC ${{ matrix.ghc }}
runs-on: ${{ matrix.os }}
steps:
- run: brew install ghcup
- run: ghcup install ghc ${{ matrix.ghc }} --set
- run: ghcup install cabal latest
- run: echo "$HOME/.ghcup/bin" >> "$GITHUB_PATH"
- run: ghc --version
- run: cabal update
- run: cabal install --package-env=. --lib hspec
- uses: actions/checkout@v4
- name: publish
run: |
dst=$RUNNER_OS-$ImageOS-$RUNNER_ARCH-ghc-${{ matrix.ghc }}.tar.gz
tar -czpf "$dst" ~/.ghcup ~/.local/state/cabal/store
gh release create nightly --prerelease || (git tag nightly -f && git push --tags -f)
gh release upload nightly "$dst" --clobber
# if: github.ref == 'refs/heads/main'
env:
GH_TOKEN: ${{ github.token }}

strategy:
fail-fast: false
matrix:
os:
- macos-latest
ghc:
- 9.12.2
99 changes: 99 additions & 0 deletions .github/workflows/dist-ubuntu-22.04.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
name: dist-ubuntu-22.04

permissions:
contents: write

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

on:
workflow_dispatch:
pull_request:

jobs:
build:
name: ${{ matrix.os }} / GHC ${{ matrix.ghc }}
runs-on: ${{ matrix.os }}
steps:
- run: ghcup rm ghc 9.12.2
- run: ghcup rm ghc 9.10.3
- run: du -hs /usr/local/.ghcup
- run: ghcup list
- run: sudo apt-get install libncurses5
- run: ghcup install ghc ${{ matrix.ghc }} --set
- run: ghc --version
- run: cabal update
- run: cabal install --package-env=. --lib hspec
- uses: actions/checkout@v4
- name: publish
run: |
dst=$RUNNER_OS-$ImageOS-$RUNNER_ARCH-ghc-${{ matrix.ghc }}.tar.gz
tar -czpf "$dst" /usr/local/.ghcup ~/.local/state/cabal/store
gh release create nightly --prerelease || (git tag nightly -f && git push --tags -f)
gh release upload nightly "$dst" --clobber
# if: github.ref == 'refs/heads/main'
env:
GH_TOKEN: ${{ github.token }}

strategy:
fail-fast: false
matrix:
os:
- ubuntu-22.04
ghc:
- 8.0.2
- 8.2.2
- 8.4.1
- 8.4.2
- 8.4.3
- 8.4.4
- 8.6.1
- 8.6.2
- 8.6.3
- 8.6.4
- 8.6.5
- 8.8.1
- 8.8.2
- 8.8.3
- 8.8.4
- 8.10.1
- 8.10.2
- 8.10.3
- 8.10.4
- 8.10.5
- 8.10.6
- 8.10.7
- 9.0.1
- 9.0.2
- 9.2.1
- 9.2.2
- 9.2.3
- 9.2.4
- 9.2.5
- 9.2.6
- 9.2.7
- 9.2.8
- 9.4.1
- 9.4.2
- 9.4.3
- 9.4.4
- 9.4.5
- 9.4.6
- 9.4.7
- 9.4.8
- 9.6.1
- 9.6.2
- 9.6.3
- 9.6.4
- 9.6.5
- 9.6.6
- 9.6.7
- 9.8.1
- 9.8.2
- 9.8.4
- 9.10.1
- 9.10.2
- 9.10.3
- 9.12.1
- 9.12.2
26 changes: 26 additions & 0 deletions fast/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Setup Haskell
author: Simon Hengel

inputs:
ghc-version:
required: true

runs:
using: composite
steps:
- shell: bash
run: echo "$HOME/.ghcup/bin" >> "$GITHUB_PATH"
if: runner.os == 'macOS'
- shell: bash
run: echo "ImageOS=$ImageOS" >> $GITHUB_ENV
- shell: bash
run: sudo apt-get update && sudo apt-get install -y libncurses5
if: env.ImageOS == 'ubuntu22' && (inputs.ghc-version == '8.0.2' || inputs.ghc-version == '8.2.2')
- shell: bash
run: rm -rf /usr/local/.ghcup/*
- shell: bash
run: |
dst=$RUNNER_OS-$ImageOS-$RUNNER_ARCH-ghc-${{ inputs.ghc-version }}.tar.gz
gh release download nightly --repo hspec/setup-haskell -p "$dst" -O - | sudo tar -xzp -C /
env:
GH_TOKEN: ${{ github.token }}
Loading