Skip to content

Commit

Permalink
store-dir
Browse files Browse the repository at this point in the history
  • Loading branch information
csasarak committed Aug 29, 2024
1 parent c012cff commit 2379f28
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,6 @@ jobs:
with:
args: ./.github/workflows/scripts/compute_cache_key.sh ${{ runner.os }} ${{ matrix.project-file }}

- name: print stuff
run: echo "Home dotfiles out of container $(ls -al ~/.*)"

# Build FOSSA CLI.
- uses: actions/cache@v4
name: Cache cabal store
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ git config --global --add safe.directory "$GITHUB_WORKSPACE"
# During the tag build, cabal/GHC may not realize that they have to rebuild the Version.hs file because the tag is invisible to it.
# This line adds a comment to our version source file to prompt cabal/GHC to rebuild Version.hs.
echo "{- $GITHUB_RUN_ID -}" >> src/App/Version.hs
cabal update
cabal build --project-file="$PROJECT_FILE" all
cabal test --project-file="$PROJECT_FILE" unit-tests
cabal update --store-dir="$HOME"
cabal build --store-dir="$HOME" --project-file="$PROJECT_FILE" all
cabal test --store-dir="$HOME" --project-file="$PROJECT_FILE" unit-tests

# TODO: Bring this back.
# Test cabal-install.
Expand Down
2 changes: 0 additions & 2 deletions cabal.project.common
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ jobs: $ncpus

package spectrometer

store-dir: ./cabal-store

allow-newer:
-- git-config needs to relax its upper bound on megaparsec. PR submitted;
-- no action from maintainer yet
Expand Down

0 comments on commit 2379f28

Please sign in to comment.