Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Try Postgres 17 on Windows#136

Try Postgres 17 on Windows

Try Postgres 17 on Windows #136

Workflow file for this run

name:Simple
on:
push:
branches:
-master
pull_request:
branches:
-master
jobs:
native:
name:"Simple: GHC ${{ matrix.ghc }} on ${{ matrix.os }}"
runs-on:${{ matrix.os }}
strategy:
matrix:
os:[macos-latest, windows-latest]
# Older GHCs need LLVM on macos-latest (ARM)
ghc:['9.10.2']
psql:['16', '17']
fail-fast:false
timeout-minutes:
60
steps:
-name:Set git to use LF
run:|
git config --global core.autocrlffalse
git config --global core.eol lf
-name:Set up Haskell
id:setup-haskell
uses:haskell-actions/setup@v2
with:
ghc-version:${{ matrix.ghc }}
cabal-version:'3.10.2.0'
-name:Set up PostgreSQL
uses:ikalnytskyi/action-setup-postgres@v7
id:postgres
with:
username:ci
password:sw0rdfish
database:test
postgres-version:${{ matrix.psql }}
-name:Checkout
uses:actions/checkout@v4
-name:Cache
uses:actions/cache@v4
with:
path:${{ steps.setup-haskell.outputs.cabal-store }}
key:${{ runner.os }}-${{ matrix.ghc }}-${{ github.sha }}
restore-keys:${{ runner.os }}-${{ matrix.ghc }}-
-name:cabal.project (win)
if:matrix.os == 'windows-latest'
run:cp cabal.project.win cabal.project
-name:cabal.project (macos)
if:matrix.os == 'macos-latest'
run:cp cabal.project.macos cabal.project
-name:ghc-pkg dump
run:ghc-pkg list
-name:Dependencies
run:cabal build all --enable-tests --only-dependencies
-name:Build
run:cabal build all --enable-tests
-name:Test
run:cabal test all --enable-tests --test-show-details=direct
env:
DATABASE_CONNSTRING:${{ steps.postgres.outputs.connection-uri }}

[8]ページ先頭

©2009-2025 Movatter.jp