From de84a3e8bc074037a42e8e51013eefa7de6bec07 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 13 Jun 2025 16:05:21 -1000 Subject: [PATCH] ;ci: stack paths test: edits --- .github/workflows/ci.yml | 52 ++++++++++++++++++++-------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0cada1eaf..1bc49f979 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -118,32 +118,6 @@ jobs: echo "could not identify commits, not checking them" # XXX fi - - name: Show stack directories - run: | - printf "stack-root: \t"; stack path --stack-root # Global Stack root directory - printf "global-config: \t"; stack path --global-config # Global Stack configuration file - # printf "project-root: \t"; stack path --project-root # Project root (derived from stack.yaml file) - printf "config-location: \t"; stack path --config-location # Configuration location (where the stack.yaml file is) - printf "bin-path: \t"; stack path --bin-path # PATH environment variable - printf "programs: \t"; stack path --programs # Install location for GHC and other core tools (see 'stack ls tools' command) - printf "compiler-exe: \t"; stack path --compiler-exe # Compiler binary (e.g. ghc) - printf "compiler-bin: \t"; stack path --compiler-bin # Directory containing the compiler binary (e.g. ghc) - printf "compiler-tools-bin: \t"; stack path --compiler-tools-bin # Directory containing binaries specific to a particular compiler - printf "local-bin: \t"; stack path --local-bin # Directory where Stack installs executables (e.g. ~/.local/bin (Unix-like OSs) or %APPDATA%\local\bin (Windows)) - printf "extra-include-dirs: \t"; stack path --extra-include-dirs # Extra include directories - printf "extra-library-dirs: \t"; stack path --extra-library-dirs # Extra library directories - printf "snapshot-pkg-db: \t"; stack path --snapshot-pkg-db # Snapshot package database - printf "local-pkg-db: \t"; stack path --local-pkg-db # Local project package database - printf "global-pkg-db: \t"; stack path --global-pkg-db # Global package database - printf "ghc-package-path: \t"; stack path --ghc-package-path # GHC_PACKAGE_PATH environment variable - printf "snapshot-install-ro \tot:"; stack path --snapshot-install-root # Snapshot installation root - printf "local-install-root: \t"; stack path --local-install-root # Local project installation root - printf "snapshot-doc-root: \t"; stack path --snapshot-doc-root # Snapshot documentation root - printf "local-doc-root: \t"; stack path --local-doc-root # Local project documentation root - printf "local-hoogle-root: \t"; stack path --local-hoogle-root # Local project documentation root - printf "dist-dir: \t"; stack path --dist-dir # Dist work directory, relative to package directory - printf "local-hpc-root: \t"; stack path --local-hpc-root # Where HPC reports and tix files are stored - - name: Skip remaining steps if the last commit message begins with ; shell: bash run: | @@ -241,6 +215,32 @@ jobs: ${{ runner.os }}-hledger-web-stack-work-$ghc if: env.do-all + - name: Show stack directories + run: | + printf "stack-root: \t"; stack path --stack-root # Global Stack root directory + printf "global-config: \t"; stack path --global-config # Global Stack configuration file + printf "project-root: \t"; stack path --project-root # Project root (derived from stack.yaml file) + printf "config-location: \t"; stack path --config-location # Configuration location (where the stack.yaml file is) + printf "bin-path: \t"; stack path --bin-path # PATH environment variable + printf "programs: \t"; stack path --programs # Install location for GHC and other core tools (see 'stack ls tools' command) + printf "compiler-exe: \t"; stack path --compiler-exe # Compiler binary (e.g. ghc) + printf "compiler-bin: \t"; stack path --compiler-bin # Directory containing the compiler binary (e.g. ghc) + printf "compiler-tools-bin: \t"; stack path --compiler-tools-bin # Directory containing binaries specific to a particular compiler + printf "local-bin: \t"; stack path --local-bin # Directory where Stack installs executables (e.g. ~/.local/bin (Unix-like OSs) or %APPDATA%\local\bin (Windows)) + printf "extra-include-dirs: \t"; stack path --extra-include-dirs # Extra include directories + printf "extra-library-dirs: \t"; stack path --extra-library-dirs # Extra library directories + printf "snapshot-pkg-db: \t"; stack path --snapshot-pkg-db # Snapshot package database + printf "local-pkg-db: \t"; stack path --local-pkg-db # Local project package database + printf "global-pkg-db: \t"; stack path --global-pkg-db # Global package database + printf "ghc-package-path: \t"; stack path --ghc-package-path # GHC_PACKAGE_PATH environment variable + printf "snapshot-install-ro \tot:"; stack path --snapshot-install-root # Snapshot installation root + printf "local-install-root: \t"; stack path --local-install-root # Local project installation root + printf "snapshot-doc-root: \t"; stack path --snapshot-doc-root # Snapshot documentation root + printf "local-doc-root: \t"; stack path --local-doc-root # Local project documentation root + printf "local-hoogle-root: \t"; stack path --local-hoogle-root # Local project documentation root + printf "dist-dir: \t"; stack path --dist-dir # Dist work directory, relative to package directory + printf "local-hpc-root: \t"; stack path --local-hpc-root # Where HPC reports and tix files are stored + # ACTIONS # in modular steps for faster & more focussed failures