File tree Expand file tree Collapse file tree 4 files changed +62
-87
lines changed
Expand file tree Collapse file tree 4 files changed +62
-87
lines changed Original file line number Diff line number Diff line change 1+ name : Validate
2+
3+ # See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency.
4+ concurrency :
5+ group : ${{ github.ref }}-${{ github.workflow }}
6+ cancel-in-progress : true
7+
8+ on :
9+ - push
10+ - pull_request
11+
12+ jobs :
13+ validate :
14+ name : Validate ${{ matrix.sys.os }} ghc-${{ matrix.ghc }}
15+ runs-on : ${{ matrix.sys.os }}
16+ strategy :
17+ fail-fast : false
18+ matrix :
19+ sys :
20+ - { os: windows-latest, shell: "C:/msys64/usr/bin/bash.exe -e {0}" }
21+ ghc :
22+ [
23+ " 9.12.2" ,
24+ " 9.10.1" ,
25+ " 9.8.4" ,
26+ " 9.6.7" ,
27+ " 9.4.8" ,
28+ " 9.2.8" ,
29+ " 9.0.2" ,
30+ " 8.10.7" ,
31+ " 8.8.4" ,
32+ " 8.6.5" ,
33+ ]
34+ defaults :
35+ run :
36+ shell : ${{ matrix.sys.shell }}
37+ steps :
38+ - name : " WIN: Setup TMP environment variable"
39+ run : |
40+ echo "TMP=${{ runner.temp }}" >> "$GITHUB_ENV"
41+
42+ - uses : actions/checkout@v4
43+
44+ - uses : haskell-actions/setup@v2
45+ id : setup-haskell
46+ with :
47+ ghc-version : ${{ matrix.ghc }}
48+ cabal-version : 3.12.1.0
49+ ghcup-release-channel : https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.8.yaml
50+
51+ - name : Validate build
52+ run : cabal build
Original file line number Diff line number Diff line change @@ -26,6 +26,9 @@ import Foreign hiding (void)
2626
2727##include "windows_cconv.h"
2828
29+ -- For REPLACEFILE_IGNORE_ACL_ERRORS
30+ #define _WIN32_WINNT 0x0600
31+
2932#include <windows.h>
3033#include "alignment.h"
3134
Original file line number Diff line number Diff line change @@ -17,6 +17,13 @@ extra-source-files:
1717 include/Win32Aux.h include/win32debug.h include/alignment.h
1818extra-doc-files :
1919 changelog.md
20+ tested-with :
21+ GHC == 9.2.7 ,
22+ GHC == 9.4.5 ,
23+ GHC == 9.6.7 ,
24+ GHC == 9.8.4 ,
25+ GHC == 9.10.1 ,
26+ GHC == 9.12.1
2027
2128flag os-string
2229 description : Use the new os-string package
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments