;ci: test step showing stack paths
This commit is contained in:
parent
e9be7ea7f5
commit
da6df3702d
26
.github/workflows/ci.yml
vendored
26
.github/workflows/ci.yml
vendored
@ -118,6 +118,32 @@ jobs:
|
||||
echo "could not identify commits, not checking them" # XXX
|
||||
fi
|
||||
|
||||
- name: Show stack directories
|
||||
run: |
|
||||
echo "stack-root:"; stack path --stack-root # Global Stack root directory
|
||||
echo "global-config:"; stack path --global-config # Global Stack configuration file
|
||||
echo "project-root:"; stack path --project-root # Project root (derived from stack.yaml file)
|
||||
echo "config-location:"; stack path --config-location # Configuration location (where the stack.yaml file is)
|
||||
echo "bin-path:"; stack path --bin-path # PATH environment variable
|
||||
echo "programs:"; stack path --programs # Install location for GHC and other core tools (see 'stack ls tools' command)
|
||||
echo "compiler-exe:"; stack path --compiler-exe # Compiler binary (e.g. ghc)
|
||||
echo "compiler-bin:"; stack path --compiler-bin # Directory containing the compiler binary (e.g. ghc)
|
||||
echo "compiler-tools-bin:"; stack path --compiler-tools-bin # Directory containing binaries specific to a particular compiler
|
||||
echo "local-bin:"; stack path --local-bin # Directory where Stack installs executables (e.g. ~/.local/bin (Unix-like OSs) or %APPDATA%\local\bin (Windows))
|
||||
echo "extra-include-dirs:"; stack path --extra-include-dirs # Extra include directories
|
||||
echo "extra-library-dirs:"; stack path --extra-library-dirs # Extra library directories
|
||||
echo "snapshot-pkg-db:"; stack path --snapshot-pkg-db # Snapshot package database
|
||||
echo "local-pkg-db:"; stack path --local-pkg-db # Local project package database
|
||||
echo "global-pkg-db:"; stack path --global-pkg-db # Global package database
|
||||
echo "ghc-package-path:"; stack path --ghc-package-path # GHC_PACKAGE_PATH environment variable
|
||||
echo "snapshot-install-root:"; stack path --snapshot-install-root # Snapshot installation root
|
||||
echo "local-install-root:"; stack path --local-install-root # Local project installation root
|
||||
echo "snapshot-doc-root:"; stack path --snapshot-doc-root # Snapshot documentation root
|
||||
echo "local-doc-root:"; stack path --local-doc-root # Local project documentation root
|
||||
echo "local-hoogle-root:"; stack path --local-hoogle-root # Local project documentation root
|
||||
echo "dist-dir:"; stack path --dist-dir # Dist work directory, relative to package directory
|
||||
echo "local-hpc-root:"; 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: |
|
||||
|
||||
Loading…
Reference in New Issue
Block a user