Skip to content

Commit

Permalink
CI: Try again with icu4c on macOS, drop Windows
Browse files Browse the repository at this point in the history
I don't know how to make icu4c work on Windows
  • Loading branch information
pjones committed Oct 29, 2020
1 parent b9e47dc commit 593fa20
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,19 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
os: [ubuntu-latest, macOS-latest]
cabal: ["3.2"]
ghc: ["8.6.5", "8.8.4", "8.10.2"]
# Newer versions of GHC are broken on Windows:
# https://gitlab.haskell.org/ghc/ghc/-/issues/17926
exclude:
- os: windows-latest
ghc: "8.8.4"
- os: windows-latest
ghc: "8.10.2"
steps:
- name: Clone Repository
uses: actions/checkout@v2

- name: Install Windows Dependencies
if: matrix.os == 'windows-latest'
run: dotnet add package Icu4c.Win.Full.Lib --version 59.1.15

- name: Install macOS Dependencies
if: matrix.os == 'macOS-latest'
run: |
brew install icu4c
brew link icu4c --force
echo 'LDFLAGS="-L/usr/local/opt/icu4c/lib"' >> $GITHUB_ENV
echo 'CPPFLAGS="-I/usr/local/opt/icu4c/include"' >> $GITHUB_ENV
echo 'PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig"' >> $GITHUB_ENV
- name: Setup Haskell
id: setup-haskell-cabal
Expand Down

0 comments on commit 593fa20

Please sign in to comment.