;ci: cleanups
This commit is contained in:
parent
6d1118ee59
commit
9910651451
2
.github/workflows/binaries-linux-arm32v7.yml
vendored
2
.github/workflows/binaries-linux-arm32v7.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
# Runs on any push to ci-linux-arm32v7.
|
# Runs on any push to binaries-linux-arm32v7.
|
||||||
# Produces optimised static arm32v7 linux binaries,
|
# Produces optimised static arm32v7 linux binaries,
|
||||||
# using GHC 8.10.4 and cabal.
|
# using GHC 8.10.4 and cabal.
|
||||||
# Currently runs no tests.
|
# Currently runs no tests.
|
||||||
|
|||||||
6
.github/workflows/binaries-linux-x64.yml
vendored
6
.github/workflows/binaries-linux-x64.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
# Runs on any push to ci-linux-x64.
|
# Runs on any push to binaries-linux-x64 or binaries.
|
||||||
# Produces optimised static x64 linux binaries,
|
# Produces optimised static x64 linux binaries,
|
||||||
# using the GHC version below and (cabal or stack)
|
# using the GHC version below and (cabal or stack)
|
||||||
# and Alpine linux, which provides the statically-linkable musl.
|
# and Alpine linux, which provides the statically-linkable musl.
|
||||||
@ -35,6 +35,8 @@ jobs:
|
|||||||
# run: |
|
# run: |
|
||||||
# tools/checkembeddedfiles
|
# tools/checkembeddedfiles
|
||||||
|
|
||||||
|
# things to be cached/restored:
|
||||||
|
|
||||||
- name: Uncache ghcup-installed tools
|
- name: Uncache ghcup-installed tools
|
||||||
id: ghcup
|
id: ghcup
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
@ -111,6 +113,8 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-hledger-web-stack-work-20240417
|
${{ runner.os }}-hledger-web-stack-work-20240417
|
||||||
|
|
||||||
|
# actions:
|
||||||
|
|
||||||
- name: Install general tools with system package manager
|
- name: Install general tools with system package manager
|
||||||
run: |
|
run: |
|
||||||
apk --no-cache add binutils-gold curl gcc g++ git gmp-dev ncurses-dev ncurses-static libffi-dev make xz tar perl zlib-dev zlib-static
|
apk --no-cache add binutils-gold curl gcc g++ git gmp-dev ncurses-dev ncurses-static libffi-dev make xz tar perl zlib-dev zlib-static
|
||||||
|
|||||||
4
.github/workflows/binaries-mac-arm64.yml
vendored
4
.github/workflows/binaries-mac-arm64.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
# Runs on any push to ci-mac.
|
# Runs on any push to binaries-mac-arm64 or binaries.
|
||||||
# Produces optimised mac arm64 binaries and runs unit/doc/functional tests,
|
# Produces optimised mac arm64 binaries and runs unit/doc/functional tests,
|
||||||
# using the default stack.yaml's GHC version.
|
# using the default stack.yaml's GHC version.
|
||||||
|
|
||||||
@ -112,6 +112,8 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-hledger-web-stack-work-from20220817
|
${{ runner.os }}-hledger-web-stack-work-from20220817
|
||||||
|
|
||||||
|
# actions:
|
||||||
|
|
||||||
- name: Add .ghcup/bin to PATH for following steps
|
- name: Add .ghcup/bin to PATH for following steps
|
||||||
run: |
|
run: |
|
||||||
echo "$HOME/.ghcup/bin/" >> $GITHUB_PATH
|
echo "$HOME/.ghcup/bin/" >> $GITHUB_PATH
|
||||||
|
|||||||
15
.github/workflows/binaries-mac-x64.yml
vendored
15
.github/workflows/binaries-mac-x64.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
# Runs on any push to ci-mac.
|
# Runs on any push to binaries-mac-x64 or binaries.
|
||||||
# Produces optimised mac x64 binaries and runs unit/doc/functional tests,
|
# Produces optimised mac x64 binaries and runs unit/doc/functional tests,
|
||||||
# using the default stack.yaml's GHC version.
|
# using the default stack.yaml's GHC version.
|
||||||
|
|
||||||
@ -112,6 +112,8 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-hledger-web-stack-work-from20220817
|
${{ runner.os }}-hledger-web-stack-work-from20220817
|
||||||
|
|
||||||
|
# actions:
|
||||||
|
|
||||||
- name: Add .ghcup/bin to PATH for following steps
|
- name: Add .ghcup/bin to PATH for following steps
|
||||||
run: |
|
run: |
|
||||||
echo "$HOME/.ghcup/bin/" >> $GITHUB_PATH
|
echo "$HOME/.ghcup/bin/" >> $GITHUB_PATH
|
||||||
@ -154,17 +156,6 @@ jobs:
|
|||||||
export PATH=~/.local/bin:$PATH
|
export PATH=~/.local/bin:$PATH
|
||||||
COLUMNS=80 $stack exec -- shelltest --execdir -j16 hledger/test -x /_ -x /addons -x ledger-compat/ledger-baseline -x ledger-compat/ledger-regress -x ledger-compat/ledger-collected # bin
|
COLUMNS=80 $stack exec -- shelltest --execdir -j16 hledger/test -x /_ -x /addons -x ledger-compat/ledger-baseline -x ledger-compat/ledger-regress -x ledger-compat/ledger-collected # bin
|
||||||
|
|
||||||
# # This is tested here rather than in the regular CI because it's slow,
|
|
||||||
# # doesn't fail too often, and the cost of late detection and fixing is low.
|
|
||||||
# - name: Test haddock generation
|
|
||||||
# env:
|
|
||||||
# stack: ${{ matrix.plan.stack }}
|
|
||||||
# run: |
|
|
||||||
# printf "haddock: "; stack exec -- haddock --version
|
|
||||||
# time $stack build --fast --haddock --no-haddock-deps --no-haddock-hyperlink-source --haddock-arguments="--no-print-missing-docs"
|
|
||||||
# # --no-haddock-hyperlink-source is 25% faster
|
|
||||||
# # --no-print-missing-docs is 600% quieter
|
|
||||||
|
|
||||||
# artifacts:
|
# artifacts:
|
||||||
|
|
||||||
- name: Gather binaries
|
- name: Gather binaries
|
||||||
|
|||||||
2
.github/workflows/binaries-windows-x64.yml
vendored
2
.github/workflows/binaries-windows-x64.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
# Runs on any push to ci-windows.
|
# Runs on any push to binaries-windows-x64 or binaries.
|
||||||
# Produces optimised windows binaries,
|
# Produces optimised windows binaries,
|
||||||
# using the default stack.yaml's GHC version.
|
# using the default stack.yaml's GHC version.
|
||||||
# Currently runs no tests.
|
# Currently runs no tests.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user