docs: update Windows build instructions

This commit is contained in:
Zaiming (Stone) Shi 2022-01-10 09:46:34 +01:00
parent 6d12bb8e17
commit 8a92b9dafa
2 changed files with 5 additions and 4 deletions

View File

@ -59,6 +59,7 @@ jobs:
profile: # only CE for windows
- emqx
otp:
## gleam-lang/setup-erlang does not yet support the installation of otp24 on windows
- 23.2
steps:
@ -71,7 +72,6 @@ jobs:
- uses: ilammy/msvc-dev-cmd@v1
- uses: gleam-lang/setup-erlang@v1.1.2
id: install_erlang
## gleam-lang/setup-erlang does not yet support the installation of otp24 on windows
with:
otp-version: ${{ matrix.otp }}
- name: build

View File

@ -25,7 +25,7 @@ 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
@ -73,6 +73,7 @@ Some of the unix world tools are required to build EMQ X. Including:
* git
* curl
* make
* cmake
* jq
* zip / unzip
@ -81,14 +82,14 @@ We recommend using [scoop](https://scoop.sh/), or [Chocolatey](https://chocolate
When using scoop:
```
scoop install git curl make jq zip unzip
scoop install git curl make cmake jq zip unzip
```
## Build EMQ X source code
* Clone the repo: `git clone https://github.com/emqx/emqx.git`
* Start CMD or Powershell
* Start CMD console
* Execute `vcvarsall.bat x86_amd64` to load environment variables