Browse Source

use iguanasha

Jonathan Marler 3 years ago
parent
commit
cad69fba67

+ 1 - 1
.github/workflows/artifact.yml

@@ -16,7 +16,7 @@ jobs:
           git clone https://github.com/marler8997/ziget ./dep/ziget
           git -C ./dep/ziget checkout $(cat zigetsha) -b for_zigup
           git clone https://github.com/alexnask/iguanaTLS ./dep/iguanaTLS
-          git -C ./dep/iguanaTLS checkout 0c0b357664397965936175d551576004cdf9da0d -b for_ziget
+          git -C ./dep/iguanaTLS checkout $(cat iguanasha) -b for_ziget
           zig build test -Diguana -Dcpu=baseline
         shell: bash
       - uses: actions/upload-artifact@v2

+ 1 - 1
update-ziget-build-files-copy

@@ -13,7 +13,7 @@ fi
 
 rm -rf ziget-build-files-copy
 
-for f in build.zig openssl/sources; do
+for f in build.zig iguanasha openssl/sources; do
     dir=$(dirname $f)
     mkdir -p ziget-build-files-copy/$dir
     cp dep/ziget/$f ziget-build-files-copy/$dir

+ 1 - 1
ziget-build-files-copy/build.zig

@@ -215,7 +215,7 @@ pub fn addSslBackend(step: *std.build.LibExeObjStep, backend: SslBackend, ziget_
             const iguana_index_file = try (GitRepo {
                 .url = "https://github.com/alexnask/iguanaTLS",
                 .branch = null,
-                .sha = "0c0b357664397965936175d551576004cdf9da0d",
+                .sha = @embedFile("iguanasha"),
             }).resolveOneFile(b.allocator, "src" ++ std.fs.path.sep_str ++ "main.zig");
             var p = Pkg {
                 .name = "ssl",

+ 1 - 0
ziget-build-files-copy/iguanasha

@@ -0,0 +1 @@
+0c0b357664397965936175d551576004cdf9da0d

+ 1 - 1
zigetsha

@@ -1 +1 @@
-4a7817af146d24b233a2dfd8e82261d5c0a43bba
+f14f0b2881661a65710ba84a3fcff1e5309432a1