Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
Fix windows release build by disabling assembly trimming
Browse files Browse the repository at this point in the history
  • Loading branch information
Caleb9 committed Mar 17, 2024
1 parent ff9ceda commit 538588b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
1 change: 0 additions & 1 deletion .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ jobs:
--self-contained \
--output $Output_Name \
-p:PublishSingleFile=true \
-p:PublishTrimmed=true \
-p:DebugType=none \
$PROJECT_NAME
Expand Down
26 changes: 13 additions & 13 deletions Tests/FullTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -227,11 +227,11 @@ let ``Full sunshine scenario: list owned album containing 4 photos`` () =
|> should
equal
(sprintf
"%s\n%s\n%s\n%s\n"
"S: /b/shared/folder2/photo3"
"P: /c/private/folder1/photo1"
"P: /photo4"
"ERROR: photo2 folder inaccessible")
"%s%s%s%s"
("S: /b/shared/folder2/photo3" + Environment.NewLine)
("P: /c/private/folder1/photo1" + Environment.NewLine)
("P: /photo4" + Environment.NewLine)
("ERROR: photo2 folder inaccessible" + Environment.NewLine))
| Error _ -> actualResult |> should be (ofCase <@ Result<string, string * int>.Ok @>)
}

Expand Down Expand Up @@ -415,10 +415,10 @@ let ``Full sunshine scenario: list person album containing 3 photos`` () =
|> should
equal
(sprintf
"%s\n%s\n%s\n"
"S: /b/shared/folder2/photo3"
"P: /c/private/folder1/photo1"
"ERROR: photo2 folder inaccessible")
"%s%s%s"
("S: /b/shared/folder2/photo3" + Environment.NewLine)
("P: /c/private/folder1/photo1" + Environment.NewLine)
("ERROR: photo2 folder inaccessible" + Environment.NewLine))
| Error _ -> actualResult |> should be (ofCase <@ Result<string, string * int>.Ok @>)
}

Expand Down Expand Up @@ -602,10 +602,10 @@ let ``Full sunshine scenario: list shared_with_me album containing 3 photos`` ()
|> should
equal
(sprintf
"%s\n%s\n%s\n"
"S: /b/shared/folder2/photo3"
"P: /c/private/folder1/photo1"
"ERROR: photo2 folder inaccessible")
"%s%s%s"
("S: /b/shared/folder2/photo3" + Environment.NewLine)
("P: /c/private/folder1/photo1" + Environment.NewLine)
("ERROR: photo2 folder inaccessible" + Environment.NewLine))
| Error _ -> actualResult |> should be (ofCase <@ Result<string, string * int>.Ok @>)
}

Expand Down

0 comments on commit 538588b

Please sign in to comment.