Skip to content

Commit

Permalink
Fix GHA by tweaking sdl2 flags
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikolaj committed Nov 14, 2023
1 parent 2b25da6 commit c2b588d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -302,11 +302,13 @@ jobs:
PKGDIR_haskell_ci="$(find "$GITHUB_WORKSPACE/unpacked" -maxdepth 1 -type d -regex '.*/Allure-[0-9.]*')"
echo "PKGDIR_haskell_ci=${PKGDIR_haskell_ci}" >> "$GITHUB_ENV"
git clone --depth=50 --branch=master https://github.com/LambdaHack/LambdaHack.git
tail -n +3 ${PKGDIR_haskell_ci}/cabal.project.LH.dir > cabal.project
tail -n +5 ${PKGDIR_haskell_ci}/cabal.project.LH.dir > cabal.project
echo "packages: $GITHUB_WORKSPACE/source/. LambdaHack" >> cabal.project
if $HEADHACKAGE; then
echo "allow-newer: $($HCPKG list --simple-output | sed -E 's/([a-zA-Z-]+)-[0-9.]+/*:\1,/g')" >> cabal.project
fi
echo "package sdl2" >> cabal.project
echo " flags: +no-linear -recent-ish" >> cabal.project
cat cabal.project
cp cabal.project cabal.project.LH.dir
- name: cache
Expand Down

0 comments on commit c2b588d

Please # to comment.