Fix emulated jobs + use ghcup on FreeBSD #541
Workflow file for this run
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: no-simdutf-windows-static | |
on: | |
- push | |
- pull_request | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: ['windows-latest'] | |
ghc: ['latest'] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: haskell-actions/setup@v2 | |
id: setup-haskell-cabal | |
with: | |
ghc-version: ${{ matrix.ghc }} | |
- name: Update cabal package database | |
run: cabal update | |
- uses: actions/cache@v4 | |
name: Cache cabal stuff | |
with: | |
path: ${{ steps.setup-haskell-cabal.outputs.cabal-store }} | |
key: ${{ runner.os }}-${{ matrix.ghc }} | |
- name: Build Tests | |
run: | | |
cabal build test:tests --enable-tests --enable-benchmarks -f-simdutf; | |
- name: Run Tests | |
run: | | |
$bin = cabal list-bin test:tests | |
$env:PATH = '' | |
& "$bin" | |
shell: pwsh |