Skip to content

Commit

Permalink
Updated CI: Test Stack build with os-string flag
Browse files Browse the repository at this point in the history
  • Loading branch information
mmhat committed Aug 9, 2024
1 parent 0fb94c9 commit 1c000ee
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ jobs:
strategy:
matrix:
ghc: ["9.10.1"]
stack-yaml:
- "stack.yaml"
- "stack.os-string.yaml"

steps:
- name: Clone project
Expand All @@ -83,15 +86,15 @@ jobs:

- name: Install dependencies
run: |
stack build --system-ghc --test --bench --no-run-tests --no-run-benchmarks --only-dependencies
stack --stack-yaml "${{ matrix.stack-yaml }}" build --system-ghc --test --bench --no-run-tests --no-run-benchmarks --only-dependencies
- name: Build
run: |
stack build --system-ghc --test --bench --no-run-tests --no-run-benchmarks
stack --stack-yaml "${{ matrix.stack-yaml }}" build --system-ghc --test --bench --no-run-tests --no-run-benchmarks
- name: Test the test-suite test
run: |
stack test path:test:test --system-ghc
stack --stack-yaml "${{ matrix.stack-yaml }}" test path:test:test --system-ghc
# - name: Test the test-suite validity-test
# run: |
Expand Down

0 comments on commit 1c000ee

Please sign in to comment.