Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
4eUeP committed May 23, 2024
1 parent 8649905 commit 76a8daf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,19 @@ jobs:
if [ "$(uname -m)" == "arm64" ]; then
sed -i'.bak' -e "s/^clientPort=2181$/clientPort=2182/g" /opt/homebrew/etc/zookeeper/zoo.cfg
cat /opt/homebrew/etc/zookeeper/zoo.cfg
echo "BUILD_ARGS=--extra-include-dirs=/opt/homebrew/include --extra-lib-dirs=/opt/homebrew/lib" >> $GITHUB_ENV
# echo "BUILD_ARGS=--extra-include-dirs=/opt/homebrew/include --extra-lib-dirs=/opt/homebrew/lib" >> $GITHUB_ENV
else
sed -i'.bak' -e "s/^clientPort=2181$/clientPort=2182/g" /usr/local/etc/zookeeper/zoo.cfg
cat /usr/local/etc/zookeeper/zoo.cfg
fi
zkServer start
- name: remove xcode devtools on osx
if: runner.os == 'macOS'
run: sudo rm -rf /Library/Developer/CommandLineTools/SDKs
#- name: remove xcode devtools on osx
# if: runner.os == 'macOS'
# run: sudo rm -rf /Library/Developer/CommandLineTools/SDKs

- name: Setup Haskell
uses: haskell/actions/setup@v2
uses: haskell-actions/setup@v2
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
Expand All @@ -85,7 +85,7 @@ jobs:
run: cabal build ${{ env.BUILD_ARGS }} --upgrade-dependencies --enable-tests --enable-benchmarks

- name: test
run: cabal test ${{ env.BUILD_ARGS }} --test-show-details=always
run: cabal test --enable-tests ${{ env.BUILD_ARGS }} --test-show-details=always

- name: check
run: cabal check
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
${{ runner.os }}-
- name: Setup Haskell
uses: haskell/actions/setup@v2
uses: haskell-actions/setup@v2
with:
# can't build docs on ghc-9.2 with cabal-3.8, see
# - https://github.com/haskell/cabal/issues/8104
Expand Down

0 comments on commit 76a8daf

Please sign in to comment.