Skip to content

Commit

Permalink
Drop gsl-example from CI, because it is not supported for the stackage.
Browse files Browse the repository at this point in the history
  • Loading branch information
junjihashimoto committed Sep 24, 2023
1 parent a1bc13f commit 7daeb66
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- synchronize
jobs:
stack-nightly:
name: Build and test via Stack
name: linux-stack-nightly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -22,11 +22,11 @@ jobs:
path: ~/.stack
key: stack-${{ hashFiles('stack.yaml') }}
- name: Build
run: stack build --flag inline-c:gsl-example --flag inline-c-cpp:std-vector-example
run: stack build --stack-yaml stack-nightly.yaml --flag inline-c-cpp:std-vector-example
- name: Test
run: stack test --flag inline-c:gsl-example --flag inline-c-cpp:std-vector-example
run: stack test --stack-yaml stack-nightly.yaml --flag inline-c-cpp:std-vector-example
stack-lts-21:
name: Build and test via Stack
name: linux-stack-lts-21
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -39,11 +39,11 @@ jobs:
path: ~/.stack
key: stack-${{ hashFiles('stack-lts-21.yaml') }}
- name: Build
run: stack build --stack-yaml stack-lts-21.yaml --flag inline-c:gsl-example --flag inline-c-cpp:std-vector-example
run: stack build --stack-yaml stack-lts-21.yaml --flag inline-c-cpp:std-vector-example
- name: Test
run: stack test --stack-yaml stack-lts-21.yaml --flag inline-c:gsl-example --flag inline-c-cpp:std-vector-example
run: stack test --stack-yaml stack-lts-21.yaml --flag inline-c-cpp:std-vector-example
stack-lts-20:
name: Build and test via Stack
name: linux-stack-lts-20
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -56,6 +56,6 @@ jobs:
path: ~/.stack
key: stack-${{ hashFiles('stack-lts-20.yaml') }}
- name: Build
run: stack build --stack-yaml stack-lts-20.yaml --flag inline-c:gsl-example --flag inline-c-cpp:std-vector-example
run: stack build --stack-yaml stack-lts-20.yaml --flag inline-c-cpp:std-vector-example
- name: Test
run: stack test --stack-yaml stack-lts-20.yaml --flag inline-c:gsl-example --flag inline-c-cpp:std-vector-example
run: stack test --stack-yaml stack-lts-20.yaml --flag inline-c-cpp:std-vector-example

0 comments on commit 7daeb66

Please sign in to comment.