forked from digital-asset/ghc-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eb9fc5c
commit 7165602
Showing
9 changed files
with
364 additions
and
317 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
name: ghc-lib-da-ghc-8.4.3 | ||
on: | ||
push: | ||
jobs: | ||
runhaskell: | ||
name: ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }}-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu, windows] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install msys2 (windows) | ||
shell: bash | ||
run: |- | ||
curl -L https://github.com/commercialhaskell/stackage-content/releases/download/msys2-20230526/msys2-20230526-x86_64.tar.xz -o msys2-20230526-x86_64.tar.xz | ||
tar xvf msys2-20230526-x86_64.tar.xz > /dev/null | ||
echo "GHCUP_MSYS2=$(pwd)/msys64" >> $GITHUB_ENV | ||
if: matrix.os == 'windows' | ||
- name: Install ghcup | ||
shell: bash | ||
run: |- | ||
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | \ | ||
BOOTSTRAP_HASKELL_NONINTERACTIVE=1 \ | ||
BOOTSTRAP_HASKELL_GHC_VERSION=8.4.3 \ | ||
BOOTSTRAP_HASKELL_CABAL_VERSION=latest \ | ||
BOOTSTRAP_HASKELL_INSTALL_NO_STACK=1 \ | ||
BOOTSTRAP_HASKELL_INSTALL_NO_STACK_HOOK=1 \ | ||
BOOTSTRAP_HASKELL_ADJUST_BASHRC=N sh | ||
- name: Setup cabal (windows) | ||
shell: bash | ||
run: |- | ||
PATH=/c/cabal/bin:/c/.ghcup/ghc-8.4.3/bin:/c/.ghcup/bin:$PATH | ||
export PATH | ||
cabal install alex happy | ||
cabal --store-dir="c:\\cabal\\store" --lib --force-reinstalls --package-env=- install extra-1.6.13 optparse-applicative-0.14.3.0 | ||
if: matrix.os == 'windows' | ||
- name: Setup cabal(unix) | ||
shell: bash | ||
run: |- | ||
PATH="$HOME/.cabal/bin":"$HOME/.ghcup/ghc-8.4.3/bin":"$HOME/.ghcup/bin:$PATH" | ||
export PATH | ||
cabal install alex happy | ||
cabal --store-dir=$HOME/.cabal/store --lib --force-reinstalls --package-env=- install extra-1.6.13 optparse-applicative-0.14.3.0 | ||
if: matrix.os == 'ubuntu' || matrix.os == 'macos' | ||
- name: Run CI.hs (windows) | ||
shell: bash | ||
run: |- | ||
PATH=/c/cabal/bin:/c/ghcup/ghc/8.4.3/bin:/c/ghcup/bin:"$GHCUP_MSYS2"/usr/bin:/c/mingw64/bin:"/c/program files/git/bin":"$PATH" | ||
export PATH | ||
$GHCUP_MSYS2/usr/bin/bash --noprofile --norc -e -o pipefail -c "set -x && pacman -S autoconf automake-wrapper make patch python tar mintty --noconfirm && runghc --ghc-arg=-clear-package-db --ghc-arg=-global-package-db --ghc-arg=-user-package-db --ghc-arg=-package-db --ghc-arg=/c/cabal/store/$(ls /c/cabal/store)/package.db CI.hs --da" | ||
if: matrix.os == 'windows' | ||
- name: Run CI.hs (unix) | ||
shell: bash | ||
run: |- | ||
PATH="$HOME/.cabal/bin":"$HOME/.ghcup/ghc/8.4.3/bin":"$HOME/.ghcup/bin":"$PATH" | ||
export PATH | ||
runghc --ghc-arg=-clear-package-db --ghc-arg=-global-package-db --ghc-arg=-user-package-db --ghc-arg=-package-db --ghc-arg=$HOME/.cabal/store/$(ls $HOME/.cabal/store)/package.db CI.hs --da | ||
if: matrix.os == 'ubuntu' || matrix.os == 'macos' |
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 @@ | ||
name: ghc-lib-ghc-9.10.1-ghc-9.8.2 | ||
on: | ||
push: | ||
jobs: | ||
runhaskell: | ||
name: ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }}-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu, macos, windows] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install build tools (macOS) | ||
run: brew install automake | ||
if: matrix.os == 'macos' | ||
- name: Install msys2 (windows) | ||
shell: bash | ||
run: |- | ||
curl -L https://github.com/commercialhaskell/stackage-content/releases/download/msys2-20230526/msys2-20230526-x86_64.tar.xz -o msys2-20230526-x86_64.tar.xz | ||
tar xvf msys2-20230526-x86_64.tar.xz > /dev/null | ||
echo "GHCUP_MSYS2=$(pwd)/msys64" >> $GITHUB_ENV | ||
if: matrix.os == 'windows' | ||
- name: Install ghcup | ||
shell: bash | ||
run: |- | ||
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | \ | ||
BOOTSTRAP_HASKELL_NONINTERACTIVE=1 \ | ||
BOOTSTRAP_HASKELL_GHC_VERSION=9.8.2 \ | ||
BOOTSTRAP_HASKELL_CABAL_VERSION=latest \ | ||
BOOTSTRAP_HASKELL_INSTALL_NO_STACK=1 \ | ||
BOOTSTRAP_HASKELL_INSTALL_NO_STACK_HOOK=1 \ | ||
BOOTSTRAP_HASKELL_ADJUST_BASHRC=N sh | ||
- name: Setup cabal (windows) | ||
shell: bash | ||
run: |- | ||
PATH=/c/cabal/bin:/c/.ghcup/ghc-9.8.2/bin:/c/.ghcup/bin:$PATH | ||
export PATH | ||
cabal install alex happy | ||
cabal --store-dir="c:\\cabal\\store" --lib --force-reinstalls --package-env=- install extra-1.7.16 optparse-applicative-0.18.1.0 | ||
if: matrix.os == 'windows' | ||
- name: Setup cabal(unix) | ||
shell: bash | ||
run: |- | ||
PATH=$HOME/.cabal/bin:$HOME/.ghcup/ghc/9.8.2/bin:$HOME/.ghcup/bin:"$GHCUP_MSYS2"/usr/bin:/c/mingw64/bin:"/c/program files/git/bin":"$PATH" | ||
export PATH | ||
cabal install alex happy | ||
cabal --store-dir=$HOME/.cabal/store --lib --force-reinstalls --package-env=- install extra-1.7.16 optparse-applicative-0.18.1.0 | ||
if: matrix.os == 'ubuntu' || matrix.os == 'macos' | ||
- name: Run CI.hs (windows) | ||
shell: bash | ||
run: |- | ||
PATH=/c/cabal/bin:/c/ghcup/ghc/9.8.2/bin:/c/ghcup/bin:"$GHCUP_MSYS2"/usr/bin:/c/mingw64/bin:"/c/program files/git/bin":"$PATH" | ||
export PATH | ||
$GHCUP_MSYS2/usr/bin/bash --noprofile --norc -e -o pipefail -c "set -x && pacman -S autoconf automake-wrapper make patch python tar mintty --noconfirm && runghc --ghc-arg=-clear-package-db --ghc-arg=-global-package-db --ghc-arg=-user-package-db --ghc-arg=-package-db --ghc-arg=/c/cabal/store/$(ls /c/cabal/store)/package.db CI.hs --ghc-flavor ghc-9.10.1" | ||
if: matrix.os == 'windows' | ||
- name: Run CI.hs (unix) | ||
shell: bash | ||
run: |- | ||
PATH="$HOME/.cabal/bin":"$HOME/.ghcup/ghc/9.8.2/bin":"$HOME/.ghcup/bin":"$PATH" | ||
export PATH | ||
runghc --ghc-arg=-clear-package-db --ghc-arg=-global-package-db --ghc-arg=-user-package-db --ghc-arg=-package-db --ghc-arg=$HOME/.cabal/store/$(ls $HOME/.cabal/store)/package.db CI.hs --ghc-flavor ghc-9.10.1 | ||
if: matrix.os == 'ubuntu' || matrix.os == 'macos' |
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 @@ | ||
name: ghc-lib-ghc-9.8.2-ghc-9.6.5 | ||
on: | ||
push: | ||
jobs: | ||
runhaskell: | ||
name: ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }}-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu, macos, windows] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install build tools (macOS) | ||
run: brew install automake | ||
if: matrix.os == 'macos' | ||
- name: Install msys2 (windows) | ||
shell: bash | ||
run: |- | ||
curl -L https://github.com/commercialhaskell/stackage-content/releases/download/msys2-20230526/msys2-20230526-x86_64.tar.xz -o msys2-20230526-x86_64.tar.xz | ||
tar xvf msys2-20230526-x86_64.tar.xz > /dev/null | ||
echo "GHCUP_MSYS2=$(pwd)/msys64" >> $GITHUB_ENV | ||
if: matrix.os == 'windows' | ||
- name: Install ghcup | ||
shell: bash | ||
run: |- | ||
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | \ | ||
BOOTSTRAP_HASKELL_NONINTERACTIVE=1 \ | ||
BOOTSTRAP_HASKELL_GHC_VERSION=9.6.5 \ | ||
BOOTSTRAP_HASKELL_CABAL_VERSION=latest \ | ||
BOOTSTRAP_HASKELL_INSTALL_NO_STACK=1 \ | ||
BOOTSTRAP_HASKELL_INSTALL_NO_STACK_HOOK=1 \ | ||
BOOTSTRAP_HASKELL_ADJUST_BASHRC=N sh | ||
- name: Setup cabal (windows) | ||
shell: bash | ||
run: |- | ||
PATH=/c/cabal/bin:/c/.ghcup/ghc-9.6.5/bin:/c/.ghcup/bin:$PATH | ||
export PATH | ||
cabal install alex happy | ||
cabal --store-dir="c:\\cabal\\store" --lib --force-reinstalls --package-env=- install extra-1.7.16 optparse-applicative-0.18.1.0 semaphore-compat-1.0.0 | ||
if: matrix.os == 'windows' | ||
- name: Setup cabal(unix) | ||
shell: bash | ||
run: |- | ||
PATH=$HOME/.cabal/bin:$HOME/.ghcup/ghc/9.6.5/bin:$HOME/.ghcup/bin:"$GHCUP_MSYS2"/usr/bin:/c/mingw64/bin:"/c/program files/git/bin":"$PATH" | ||
export PATH | ||
cabal install alex happy | ||
cabal --store-dir=$HOME/.cabal/store --lib --force-reinstalls --package-env=- install extra-1.7.16 optparse-applicative-0.18.1.0 semaphore-compat-1.0.0 | ||
if: matrix.os == 'ubuntu' || matrix.os == 'macos' | ||
- name: Run CI.hs (windows) | ||
shell: bash | ||
run: |- | ||
PATH=/c/cabal/bin:/c/ghcup/ghc/9.6.5/bin:/c/ghcup/bin:"$GHCUP_MSYS2"/usr/bin:/c/mingw64/bin:"/c/program files/git/bin":"$PATH" | ||
export PATH | ||
$GHCUP_MSYS2/usr/bin/bash --noprofile --norc -e -o pipefail -c "set -x && pacman -S autoconf automake-wrapper make patch python tar mintty --noconfirm && runghc --ghc-arg=-clear-package-db --ghc-arg=-global-package-db --ghc-arg=-user-package-db --ghc-arg=-package-db --ghc-arg=/c/cabal/store/$(ls /c/cabal/store)/package.db CI.hs --ghc-flavor ghc-9.8.2" | ||
if: matrix.os == 'windows' | ||
- name: Run CI.hs (unix) | ||
shell: bash | ||
run: |- | ||
PATH="$HOME/.cabal/bin":"$HOME/.ghcup/ghc/9.6.5/bin":"$HOME/.ghcup/bin":"$PATH" | ||
export PATH | ||
runghc --ghc-arg=-clear-package-db --ghc-arg=-global-package-db --ghc-arg=-user-package-db --ghc-arg=-package-db --ghc-arg=$HOME/.cabal/store/$(ls $HOME/.cabal/store)/package.db CI.hs --ghc-flavor ghc-9.8.2 | ||
if: matrix.os == 'ubuntu' || matrix.os == 'macos' |
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 @@ | ||
name: ghc-lib-ghc-master-ghc-9.10.1 | ||
on: | ||
push: | ||
jobs: | ||
runhaskell: | ||
name: ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }}-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu, macos, windows] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install build tools (macOS) | ||
run: brew install automake | ||
if: matrix.os == 'macos' | ||
- name: Install msys2 (windows) | ||
shell: bash | ||
run: |- | ||
curl -L https://github.com/commercialhaskell/stackage-content/releases/download/msys2-20230526/msys2-20230526-x86_64.tar.xz -o msys2-20230526-x86_64.tar.xz | ||
tar xvf msys2-20230526-x86_64.tar.xz > /dev/null | ||
echo "GHCUP_MSYS2=$(pwd)/msys64" >> $GITHUB_ENV | ||
if: matrix.os == 'windows' | ||
- name: Install ghcup | ||
shell: bash | ||
run: |- | ||
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | \ | ||
BOOTSTRAP_HASKELL_NONINTERACTIVE=1 \ | ||
BOOTSTRAP_HASKELL_GHC_VERSION=9.10.1 \ | ||
BOOTSTRAP_HASKELL_CABAL_VERSION=latest \ | ||
BOOTSTRAP_HASKELL_INSTALL_NO_STACK=1 \ | ||
BOOTSTRAP_HASKELL_INSTALL_NO_STACK_HOOK=1 \ | ||
BOOTSTRAP_HASKELL_ADJUST_BASHRC=N sh | ||
- name: Setup cabal (windows) | ||
shell: bash | ||
run: |- | ||
PATH=/c/cabal/bin:/c/.ghcup/ghc-9.10.1/bin:/c/.ghcup/bin:$PATH | ||
export PATH | ||
cabal install alex happy | ||
cabal --store-dir="c:\\cabal\\store" --lib --force-reinstalls --package-env=- install extra-1.7.16 optparse-applicative-0.18.1.0 | ||
if: matrix.os == 'windows' | ||
- name: Setup cabal(unix) | ||
shell: bash | ||
run: |- | ||
PATH=/c/cabal/bin:$HOME/.ghcup/ghc/9.10.1/bin:$HOME/.ghcup/bin:"$GHCUP_MSYS2"/usr/bin:/c/mingw64/bin:"/c/program files/git/bin":"$PATH" | ||
export PATH | ||
cabal install alex happy | ||
cabal --store-dir=$HOME/.cabal/store --lib --force-reinstalls --package-env=- install extra-1.7.16 optparse-applicative-0.18.1.0 | ||
if: matrix.os == 'ubuntu' || matrix.os == 'macos' | ||
- name: Run CI.hs (windows) | ||
shell: bash | ||
run: |- | ||
PATH=/c/cabal/bin:/c/ghcup/ghc/9.10.1/bin:/c/ghcup/bin:"$GHCUP_MSYS2"/usr/bin:/c/mingw64/bin:"/c/program files/git/bin":"$PATH" | ||
export PATH | ||
$GHCUP_MSYS2/usr/bin/bash --noprofile --norc -e -o pipefail -c "set -x && pacman -S autoconf automake-wrapper make patch python tar mintty --noconfirm && runghc --ghc-arg=-clear-package-db --ghc-arg=-global-package-db --ghc-arg=-user-package-db --ghc-arg=-package-db --ghc-arg=/c/cabal/store/$(ls /c/cabal/store)/package.db CI.hs --ghc-flavor ghc-master" | ||
if: matrix.os == 'windows' | ||
- name: Run CI.hs (unix) | ||
shell: bash | ||
run: |- | ||
PATH="$HOME/.cabal/bin":"$HOME/.ghcup/ghc/9.10.1/bin":"$HOME/.ghcup/bin":"$PATH" | ||
export PATH | ||
runghc --ghc-arg=-clear-package-db --ghc-arg=-global-package-db --ghc-arg=-user-package-db --ghc-arg=-package-db --ghc-arg=$HOME/.cabal/store/$(ls $HOME/.cabal/store)/package.db CI.hs --ghc-flavor ghc-master | ||
if: matrix.os == 'ubuntu' || matrix.os == 'macos' |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.