1111jobs :
1212 build-windows :
1313 name : Windows
14- runs-on : windows-2019
14+ runs-on : windows-2022
1515 env :
16- BOOST_ROOT : C:/tools/boost/x86_64
16+ BOOST_ROOT : C:/local/boost_1_83_0
1717 steps :
1818 - uses : actions/checkout@master
1919
2020 - name : Setup msbuild
2121 uses : microsoft/setup-msbuild@v1.1.3
2222
23+ - name : Restore Boost
24+ uses : actions/cache@v3
25+ id : restore-boost
26+ with :
27+ path : ${{env.BOOST_ROOT}}
28+ key : boost_1_83_0-msvc-14.3-64
29+
2330 - name : Install Boost
31+ if : steps.restore-boost.outputs.cache-hit != 'true'
2432 shell : powershell
2533 run : |
26- echo "${env:BOOST_ROOT}"
27- $Url = "https://sourceforge.net/projects/boost/files/boost-binaries/1.72.0/boost_1_72_0-msvc-14.2-64.exe"
34+ $Url = "https://sourceforge.net/projects/boost/files/boost-binaries/1.83.0/boost_1_83_0-msvc-14.3-64.exe"
2835 (New-Object System.Net.WebClient).DownloadFile($Url, "$env:TEMP\boost.exe")
2936 Start-Process -Wait -FilePath "$env:TEMP\boost.exe" "/SILENT","/SP-","/SUPPRESSMSGBOXES","/DIR=${env:BOOST_ROOT}"
3037
7885 New-Item "$build_folder\$release_folder" -ItemType Directory
7986 cd "$build_folder"
8087
81- cmake -G "Visual Studio 16 2019 " ..
88+ cmake -G "Visual Studio 17 2022 " ..
8289 msbuild conceal-desktop.sln /p:Configuration=Release /m:2
8390
8491 echo "build_folder=${build_folder}" >> $env:GITHUB_OUTPUT
95102
96103 cd "$build_folder/$release_folder"
97104 mkdir "Final"
98- choco install openssl -y
99- cp "C:\Program Files\OpenSSL-Win64\libcrypto*.dll" "Final/"
100- cp "C:\Program Files\OpenSSL-Win64\libssl*.dll" "Final/"
105+ cp "C:\Program Files\OpenSSL\libcrypto*.dll" "Final/"
106+ cp "C:\Program Files\OpenSSL\libssl*.dll" "Final/"
101107 windeployqt --release conceal-desktop.exe --dir "Final/" --no-translations --no-opengl-sw
102108
103109 mv Final ../../installer/windows/build
@@ -118,14 +124,14 @@ jobs:
118124
119125 build-appimage :
120126 name : AppImage
121- runs-on : ubuntu-18 .04
127+ runs-on : ubuntu-20 .04
122128 steps :
123129 - uses : actions/checkout@master
124130
125131 - name : Install dependencies
126132 run : |
127133 sudo apt-get update -y
128- sudo apt-get install -y qt5-default qttools5-dev qttools5-dev-tools libqt5charts5-dev libboost-all-dev
134+ sudo apt-get install -y qt5-default qttools5-dev qttools5-dev-tools libqt5charts5-dev libboost-all-dev openssl
129135
130136 - name : Clone conceal-core
131137 run : |
@@ -166,47 +172,6 @@ jobs:
166172 env :
167173 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
168174
169- build-ubuntu18 :
170- name : Ubuntu 18.04
171- runs-on : ubuntu-18.04
172- steps :
173- - uses : actions/checkout@master
174-
175- - name : Install dependencies
176- run : |
177- sudo apt-get update -y
178- sudo apt-get install -y qt5-default qttools5-dev qttools5-dev-tools libqt5charts5-dev libboost-all-dev
179-
180- - name : Clone conceal-core
181- run : |
182- rm -rf cryptonote
183- git clone https://github.com/ConcealNetwork/conceal-core.git cryptonote
184- ./.github/checkout.sh
185-
186- - name : Build
187- id : build
188- run : |
189- ccx_version=${GITHUB_SHA::7}
190- release_name=ccx-desktop-ubuntu-1804-dev-"$ccx_version"
191-
192- lrelease src/languages/*.ts
193- make -j2 build-release
194- mkdir $release_name
195- mkdir -p $release_name/icon
196- mv build/release/conceal-desktop $release_name
197- cp conceal-desktop.desktop $release_name
198- cp src/images/conceal.png $release_name/icon
199-
200- echo "release_name=${release_name}" >> $GITHUB_OUTPUT
201-
202- - name : Upload To GH Artifacts
203- uses : actions/upload-artifact@v3
204- with :
205- name : ${{ steps.build.outputs.release_name }}
206- path : ${{ steps.build.outputs.release_name }}
207- env :
208- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
209-
210175 build-ubuntu20 :
211176 name : Ubuntu 20.04
212177 runs-on : ubuntu-20.04
@@ -291,7 +256,7 @@ jobs:
291256
292257 build-macos :
293258 name : macOS
294- runs-on : macos-11
259+ runs-on : macos-12
295260 steps :
296261 - uses : actions/checkout@master
297262
0 commit comments