input-output-hk / actions

IOG GitHub Actions
2 stars 3 forks source link

Add icu4c to macOS build #1

Closed sgillespie closed 1 year ago

sgillespie commented 1 year ago

Add icu4c to macOS builds. Note that ICU is already installed on macOS, but still needs to be added to pkg-config.

Before this change, depending on text-icu will result in:

[__1] next goal: text-icu (dependency of haskell-build-test)
[__1] rejecting: text-icu-0.8.0.2, text-icu-0.8.0.1 (conflict: pkg-config
package icu-i18n>=62.1, not found in the pkg-config database)
[__1] rejecting: text-icu-0.8.0 (conflict: pkg-config package icu-i18n-any,
not found in the pkg-config database)

Afterwards, it should build successfully. Here are some tests I ran:

Before: https://github.com/sgillespie/haskell-build-test/actions/runs/5379724334/jobs/9761372648 After: https://github.com/sgillespie/haskell-build-test/actions/runs/5379724332/jobs/9761372656

angerman commented 1 year ago

@sgillespie I believe this needs to be against the base/action.yml now?