File tree Expand file tree Collapse file tree 1 file changed +9
-24
lines changed Expand file tree Collapse file tree 1 file changed +9
-24
lines changed Original file line number Diff line number Diff line change @@ -32,35 +32,20 @@ jobs:
32
32
path : mosquitto/src/mosquitto
33
33
34
34
build-windows :
35
- runs-on : windows-latest
36
- steps :
37
- - name : Set up build environment
38
- run : |
39
- choco install cmake -y
40
- choco install openssl -y
41
- choco install libwebsockets -y
42
- choco install libuuid -y
43
- choco install xsltproc -y
44
- choco install wget -y
45
- choco install mingw -y
46
-
47
- - name : Get Mosquitto Source
48
- run : |
49
- wget https://mosquitto.org/files/source/mosquitto-2.0.18.tar.gz
50
- tar xvf mosquitto-2.0.18.tar.gz
51
- mv mosquitto-2.0.18 mosquitto
52
-
53
- - name : Build Mosquitto
54
- run : |
55
- cd mosquitto
56
- cmake .
57
- WITH_DOCS=no cmake --build .
35
+ runs-on : ubuntu-latest
36
+ run : |
37
+ sudo apt-get update
38
+ sudo apt-get install -y wget
39
+ run : |
40
+ wget https://mosquitto.org/files/binary/win64/mosquitto-2.0.18-install-windows-x64.exe
41
+ mv mosquitto-2.0.18-install-windows-x64.exe mosquitto.exe
58
42
59
43
- name : Archive artifacts
60
44
uses : actions/upload-artifact@v2
61
45
with :
62
46
name : mosquitto-binary-windows
63
- path : mosquitto/src/mosquitto.exe
47
+ path : mosquitto.exe
48
+
64
49
65
50
build-mac :
66
51
runs-on : macos-latest
You can’t perform that action at this time.
0 commit comments