Skip to content

Commit

Permalink
Stop the test of objective-c on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
junjihashimoto committed Sep 24, 2023
1 parent 846f43d commit dd69574
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
path: ~/.stack
key: stack-${{ hashFiles('stack.yaml') }}
- name: Build
run: stack build --stack-yaml stack-nightly.yaml --flag inline-c-cpp:std-vector-example --extra-include-dirs /usr/include/GNUstep
run: stack build --stack-yaml stack-nightly.yaml --flag inline-c-cpp:std-vector-example
- name: Test
run: stack test --stack-yaml stack-nightly.yaml --flag inline-c-cpp:std-vector-example --extra-include-dirs /usr/include/GNUstep
run: stack test --stack-yaml stack-nightly.yaml --flag inline-c-cpp:std-vector-example
stack-lts-21:
name: linux-stack-lts-21
runs-on: ubuntu-latest
Expand All @@ -47,9 +47,9 @@ jobs:
path: ~/.stack
key: stack-${{ hashFiles('stack-lts-21.yaml') }}
- name: Build
run: stack build --stack-yaml stack-lts-21.yaml --flag inline-c-cpp:std-vector-example --extra-include-dirs /usr/include/GNUstep
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-cpp:std-vector-example --extra-include-dirs /usr/include/GNUstep
run: stack test --stack-yaml stack-lts-21.yaml --flag inline-c-cpp:std-vector-example
stack-lts-20:
name: linux-stack-lts-20
runs-on: ubuntu-latest
Expand All @@ -68,6 +68,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-cpp:std-vector-example --extra-include-dirs /usr/include/GNUstep
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-cpp:std-vector-example --extra-include-dirs /usr/include/GNUstep
run: stack test --stack-yaml stack-lts-20.yaml --flag inline-c-cpp:std-vector-example
5 changes: 3 additions & 2 deletions inline-c-objc/inline-c-objc.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@ test-suite tests
default-language: Haskell2010
if os(darwin)
frameworks: Foundation
elif os(linux)
extra-libraries: gnustep-base
buildable: True
else
buildable: False

0 comments on commit dd69574

Please sign in to comment.