diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 5f9a06ae..324b18da 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -35,6 +35,14 @@ jobs: with: python-version: '3.12' + - uses: Jimver/cuda-toolkit@v0.2.15 + + - uses: snok/install-poetry@v1 + with: + virtualenvs-create: true + virtualenvs-in-project: true + installer-parallel: true + - run: pwsh scripts/init.ps1 - run: pwsh scripts/build.ps1 diff --git a/apps/builder/Builder.dib b/apps/builder/Builder.dib index 72ef0b05..211d1a5e 100644 --- a/apps/builder/Builder.dib +++ b/apps/builder/Builder.dib @@ -169,7 +169,7 @@ let inline persistCodeProject packages modules name hash code = async { let inline buildCode runtime packages modules outputDir name code = async { let! fsprojPath = code |> persistCodeProject packages modules name None let! exitCode = fsprojPath |> buildProject runtime outputDir - if exitCode > 0 then + if exitCode <> 0 then let! fsprojText = fsprojPath |> SpiralFileSystem.read_all_text_async trace Critical (fun () -> "buildCode") diff --git a/apps/builder/Builder.dib.html b/apps/builder/Builder.dib.html index ef9455ab..198c0666 100644 --- a/apps/builder/Builder.dib.html +++ b/apps/builder/Builder.dib.html @@ -7705,7 +7705,7 @@

persistCodeProjectlet workspaceRoot = SpiralFileSystem.get_workspace_root () let targetDir = - let targetDir = workspaceRoot </> "target/polyglot/builder" </> name + let targetDir = workspaceRoot </> "target/Builder" </> name match hash with | Some hash -> targetDir </> "packages" </> hash | None -> targetDir @@ -7795,7 +7795,7 @@

buildCode

let inline buildCode runtime packages modules outputDir name code = async {
     let! fsprojPath = code |> persistCodeProject packages modules name None
     let! exitCode = fsprojPath |> buildProject runtime outputDir
-    if exitCode > 0 then
+    if exitCode <> 0 then
         let! fsprojText = fsprojPath |> SpiralFileSystem.read_all_text_async
         trace Critical
             (fun () -> "buildCode")
@@ -7834,38 +7834,27 @@ 

buildCode

- -
+
-
+
-
+
+
+ +
+
+
-
+
-
-
+
-
+
-
+
-
+
-
+ -
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+ -
+
-
+ - -
+
-
+
-
+
-
+ -
+
-
+
-
+
-
+
-
+ -
+
-
+ -
+
-
+ - -
+
-
+ - -
+
-
+
-
+
-
+
-
+
-
+ -
+
-
-
+
-
-
-
+
-
+
-
+ -
+
-
+