From 27fc3e55408a250a885f6f174773c059f848e22c Mon Sep 17 00:00:00 2001 From: ivborissov Date: Wed, 4 Sep 2024 15:46:42 +0300 Subject: [PATCH] v0.8.7 tests --- Artifacts.toml | 18 +++++++++--------- artifacts_scripts/build_artifacts.jl | 2 +- src/HetaSimulator.jl | 2 +- test/heta_compiler_test.jl | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Artifacts.toml b/Artifacts.toml index 18f7fc6..607457c 100644 --- a/Artifacts.toml +++ b/Artifacts.toml @@ -1,25 +1,25 @@ [[heta_app]] arch = "x86_64" -git-tree-sha1 = "fe79a7d34e362a7038a8ee7b7b5653a0895eba22" +git-tree-sha1 = "a23558d3a8dafc1280df998cda01be5f3df5322b" libc = "glibc" os = "linux" [[heta_app.download]] - sha256 = "4dde32c2ba534e51b25030ed409d926008ff4ce44023f80d983810625bd54abd" - url = "https://github.com/hetalang/heta-compiler/releases/download/v0.8.6/heta-compiler-linux.tar.gz" + sha256 = "c3de7b6935653e4f0e4b0ff7251b639e76d5fecda1a825784f72ee02cb2381c5" + url = "https://github.com/hetalang/heta-compiler/releases/download/v0.8.7/heta-compiler-linux.tar.gz" [[heta_app]] arch = "x86_64" -git-tree-sha1 = "93c1330a1dce7f8aa62214c0cb5e612c02187956" +git-tree-sha1 = "b31deea146ed62c2f686888074499a99fb876080" os = "windows" [[heta_app.download]] - sha256 = "a0611f5ca671bd67edda6fbb062322ca89dbe2f4f0852ea8db30788f43c789c7" - url = "https://github.com/hetalang/heta-compiler/releases/download/v0.8.6/heta-compiler-windows.tar.gz" + sha256 = "0b8af8715f6a50240dd475599615c466c4d4bd7979477a512c0b8de20d6cacdf" + url = "https://github.com/hetalang/heta-compiler/releases/download/v0.8.7/heta-compiler-windows.tar.gz" [[heta_app]] arch = "x86_64" -git-tree-sha1 = "367cd23e5cbfebcd8f0c175703fbe7da734e4039" +git-tree-sha1 = "a741cebf5cd6872b9da78a1713e5b835f9bc919b" os = "macos" [[heta_app.download]] - sha256 = "f8d6b97cc06a9fc51e1c99f4383450c778f4067e7880fff3d709f2a510a3b230" - url = "https://github.com/hetalang/heta-compiler/releases/download/v0.8.6/heta-compiler-macos.tar.gz" + sha256 = "9454cd0b5a47f5692a5a5decdf47a0e03ef18892f4be5c55d28777bf499176a3" + url = "https://github.com/hetalang/heta-compiler/releases/download/v0.8.7/heta-compiler-macos.tar.gz" diff --git a/artifacts_scripts/build_artifacts.jl b/artifacts_scripts/build_artifacts.jl index dc2f718..7a303f8 100644 --- a/artifacts_scripts/build_artifacts.jl +++ b/artifacts_scripts/build_artifacts.jl @@ -1,7 +1,7 @@ using ArtifactUtils using Pkg.Artifacts -const HETA_COMPILER_RELEASE = "v0.8.6" +const HETA_COMPILER_RELEASE = "v0.8.7" const artifacts_toml = joinpath(@__DIR__, "..", "Artifacts.toml") diff --git a/src/HetaSimulator.jl b/src/HetaSimulator.jl index a2f9e26..0293228 100644 --- a/src/HetaSimulator.jl +++ b/src/HetaSimulator.jl @@ -7,7 +7,7 @@ module HetaSimulator import Base: SHA1 # heta-compiler supported version - const HETA_COMPILER_VERSION = "0.8.6" + const HETA_COMPILER_VERSION = "0.8.7" #const SUPPORTED_VERSIONS = ["0.8.4", "0.8.5", "0.8.6"] function heta_compiler_load() diff --git a/test/heta_compiler_test.jl b/test/heta_compiler_test.jl index 23f24bb..aa5577a 100644 --- a/test/heta_compiler_test.jl +++ b/test/heta_compiler_test.jl @@ -1,3 +1,3 @@ @test chomp(read(`$(HetaSimulator.heta_exe_path) -v`, String)) == HetaSimulator.HETA_COMPILER_VERSION -@test_throws AssertionError("The model was build with Heta compiler v0.0.1, which is not supported.\nThis HetaSimulator release includes Heta compiler v0.8.6. Please re-compile the model with HetaSimulator load_platform().") load_jlplatform("$HetaSimulatorDir/test/dummy_jlmodel.jl") \ No newline at end of file +@test_throws AssertionError("The model was build with Heta compiler v0.0.1, which is not supported.\nThis HetaSimulator release includes Heta compiler v$(HetaSimulator.HETA_COMPILER_VERSION). Please re-compile the model with HetaSimulator load_platform().") load_jlplatform("$HetaSimulatorDir/test/dummy_jlmodel.jl") \ No newline at end of file