Skip to content

Commit

Permalink
FINE then. ifdef-out the build script code to run the tests under 32 …
Browse files Browse the repository at this point in the history
…bit windows, because at the moment the GitHub action can't cope.
  • Loading branch information
ericsink committed Sep 18, 2022
1 parent 5c6e952 commit 294c4c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<Copyright>Copyright 2014-2022 SourceGear, LLC</Copyright>
<Company>SourceGear</Company>
<Authors>Eric Sink</Authors>
<Version>2.1.2-pre20220918132332</Version>
<Version>2.1.2-pre20220918134829</Version>
<AssemblyVersion>2.1.2.1721</AssemblyVersion>
<FileVersion>2.1.2.1721</FileVersion>
<Description>SQLitePCLRaw is a Portable Class Library (PCL) for low-level (raw) access to SQLite</Description>
Expand Down
2 changes: 2 additions & 0 deletions build/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,12 @@ let main argv =
let args = sprintf "run --framework=%s" tfm
exec "dotnet" args (Path.Combine(top, "test_nupkgs", dir, "fake_xunit"))

#if not // TODO currently fails in the GitHub Action, not yet sure why
if RuntimeInformation.IsOSPlatform(OSPlatform.Windows) then
let args = "run -f net6.0-windows -r win-x86 --no-self-contained"
exec "dotnet" args (Path.Combine(top, "test_nupkgs", "e_sqlite3", "fake_xunit"))
exec "dotnet" args (Path.Combine(top, "test_nupkgs", "e_sqlcipher", "fake_xunit"))
#endif

printfn "generating push.bat"
let bat = System.Collections.Generic.List<string>()
Expand Down

0 comments on commit 294c4c0

Please sign in to comment.