Skip to content

Commit c9c2196

Browse files
committed
build_distro.sh: Fix Windows check.
Use github runner env variable `$RUNNER_OS` instead of `/proc/version` to determine that we are running inside GitHub Windows runner. Signed-off-by: Leonid Ryzhyk <[email protected]>
1 parent 2e32156 commit c9c2196

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

build_distro.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ cp -r lib "$DIST_DIR/"
2424

2525
# Step 3: Include Rust dependencies for offline build.
2626
# We don't have space for this on the Windows runner.
27-
if ! grep -q Microsoft /proc/version; then
27+
if [ "$RUNNER_OS" != "Windows" ] ; then
2828
cd rust/template
2929

3030
# In addition to dependencies specified in `Cargo.toml`, add dependencies from

rust/template/Cargo.toml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,31 @@ name = "datalog_example_ddlog"
7070
# Compiler will append the crate-type attribute here as well as the
7171
# build profile and workspace definition
7272
# crate-type = ["rlib", "staticlib"]
73+
[dependencies.base64]
74+
version = "0.13"
75+
[dependencies.im]
76+
git = "https://github.com/ddlog-dev/im-rs"
77+
branch = "ddlog-1"
78+
features = ["serde"]
79+
[dependencies.internment]
80+
version="0.5.4"
81+
features=["arc"]
82+
[dependencies.lasso]
83+
version = "0.4.0"
84+
features = ["multi-threaded"]
85+
86+
[dependencies.fxhash]
87+
version = "0.2.1"
88+
[dependencies.regex]
89+
version = "1.4.2"
90+
[dependencies.chrono]
91+
version = "0.4"
92+
features = ["serde"]
93+
[dependencies.tinyset]
94+
version = "0.2.2"
95+
[dependencies.url]
96+
version = "2.1"
97+
features = ["serde"]
98+
[dependencies.uuid]
99+
version = "0.8"
100+
features = ["v5"]

0 commit comments

Comments
 (0)