fixup! #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-wxHaskell | ||
on: | ||
push: | ||
pull_request: | ||
branches: [master] | ||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ghc: ["9.4.8"] | ||
os: [ ubuntu-latest, windows-latest, macOS-latest ] | ||
include: | ||
- name: ubuntu-latest | ||
shell: bash | ||
- name: windows-latest | ||
shell: msys2 {0} | ||
- name: macOS-latest | ||
shell: bash | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- run: git config --global core.autocrlf input | ||
- uses: actions/checkout@v4 | ||
- uses: haskell/actions/setup@v2 | ||
id: setup-haskell | ||
with: | ||
ghc-version: ${{ matrix.ghc }} | ||
- name: Install wxWidgets on Windows | ||
uses: msys2/setup-msys2@v2 | ||
with: | ||
msystem: CLANG64 | ||
platform-check-severity: warn | ||
install: >- | ||
mingw-w64-clang-x86_64-clang | ||
mingw-w64-clang-x86_64-wxwidgets3.2-msw | ||
- name: Install wxWidgets on Ubuntu / macOS | ||
run: | | ||
if [[ "${{ matrix.os }}" == "ubuntu-latest" ]]; then | ||
apt install -y libwxgtk3.0-gtk3-dev | ||
elif [[ "${{ matrix.os }}" == "macos-latest" ]]; then | ||
brew install wxwidgets | ||
fi | ||
- name: Configure project | ||
shell: ${{ matrix.shell }} | ||
Check failure on line 53 in .github/workflows/build.yml GitHub Actions / build-wxHaskellInvalid workflow file
|
||
run: | | ||
echo "$SHELL" | ||
echo "$PATH" | ||
cabal configure | ||
cabal build all --dry-run | ||
- name: Build | ||
shell: ${{ matrix.shell }} | ||
run: | | ||
echo "$SHELL" | ||
echo "$PATH" | ||
cabal build all |