From 1fe91221ace7db60da4c0f72dda87346f2548b86 Mon Sep 17 00:00:00 2001 From: "Zaiming (Stone) Shi" Date: Tue, 25 Jan 2022 23:18:13 +0100 Subject: [PATCH 1/2] docs: remove powershell from Windows build doc Had trouble to make it work --- Windows.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Windows.md b/Windows.md index 5e947a22e..f02b40920 100644 --- a/Windows.md +++ b/Windows.md @@ -25,17 +25,17 @@ C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build Depending on your visual studio version and OS, the paths may differ. The first path is for rebar3 port compiler to find `cl.exe` and `link.exe` -The second path is for Powershell or CMD to setup environment variables. +The second path is for CMD to setup environment variables. ### Erlang/OTP Install Erlang/OTP 23.2 from https://www.erlang.org/downloads You may need to edit the `Path` environment variable to allow running -Erlang commands such as `erl` from powershell. +Erlang commands such as `erl` from CMD. -To validate Erlang installation in CMD or powershell: +To validate Erlang installation in CMD : -* Start (or restart) CMD or powershell +* Start (or restart) CMD * Execute `erl` command to enter Erlang shell @@ -63,7 +63,7 @@ Cygwin is what we tested with. to `Path` list. * Validate installation. - Start (restart) CMD or powershell console and execute `which bash`, it should + Start (restart) CMD console and execute `which bash`, it should print out `/usr/bin/bash` ### Other tools @@ -88,7 +88,7 @@ scoop install git curl make jq zip unzip * Clone the repo: `git clone https://github.com/emqx/emqx.git` -* Start CMD or Powershell +* Start CMD * Execute `vcvarsall.bat x86_amd64` to load environment variables From 99712d352102ecf6826bf6142c121d0d6e9d44fa Mon Sep 17 00:00:00 2001 From: "Zaiming (Stone) Shi" Date: Tue, 25 Jan 2022 23:29:55 +0100 Subject: [PATCH 2/2] ci: debug windows build --- .github/workflows/build_packages.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build_packages.yaml b/.github/workflows/build_packages.yaml index bddd44125..e2b3841a4 100644 --- a/.github/workflows/build_packages.yaml +++ b/.github/workflows/build_packages.yaml @@ -86,6 +86,7 @@ jobs: DIAGNOSTIC: 1 run: | $env:PATH = "${{ steps.install_erlang.outputs.erlpath }}\bin;$env:PATH" + erl -eval "erlang:display(crypto:info_lib())" -s init stop $version = $( "${{ github.ref }}" -replace "^(.*)/(.*)/" ) if ($version -match "^v[0-9]+\.[0-9]+(\.[0-9]+)?") {