Skip to content

Commit 0eae47e

Browse files
committed
Fixed CI.
1 parent 70bba0b commit 0eae47e

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/depends/boost.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ while getopts "b:t:" c; do
3232
;;
3333
esac
3434
done
35-
wget https://boostorg.jfrog.io/artifactory/main/release/1.78.0/source/boost_1_78_0.tar.bz2
36-
tar xf boost_1_78_0.tar.bz2
37-
cd boost_1_78_0
35+
wget https://archives.boost.io/release/1.88.0/source/boost_1_88_0.tar.bz2
36+
tar xf boost_1_88_0.tar.bz2
37+
cd boost_1_88_0
3838
./bootstrap.sh
3939

4040
build()

.github/workflows/gha.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- '-DMQTT_TEST_1=OFF -DMQTT_TEST_2=OFF -DMQTT_TEST_3=OFF -DMQTT_TEST_4=OFF -DMQTT_TEST_5=OFF -DMQTT_TEST_6=OFF -DMQTT_TEST_7=ON -DMQTT_USE_TLS=ON -DMQTT_BUILD_EXAMPLES=OFF -DMQTT_USE_WS=OFF -DMQTT_USE_STR_CHECK=ON -DMQTT_USE_LOG=OFF'
2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@v2
25+
uses: actions/checkout@v4
2626
- name: Install Dependencies
2727
run: |
2828
brew install boost openssl
@@ -50,13 +50,13 @@ jobs:
5050
pattern: [0, 1, 2, 3, 4, 5, 6, 7]
5151
steps:
5252
- name: Checkout
53-
uses: actions/checkout@v2
53+
uses: actions/checkout@v4
5454
- name: Cache boost
5555
id: cache-boost
56-
uses: actions/cache@v1
56+
uses: actions/cache@v4
5757
with:
5858
path: usr
59-
key: ${{ runner.os }}-boost-20220116
59+
key: ${{ runner.os }}-boost-20250721
6060
- name: Build boost
6161
if: steps.cache-boost.outputs.cache-hit != 'true'
6262
run: ./.github/depends/boost.sh -b 64 -t gcc

azure-pipelines.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@ steps:
133133

134134
- powershell: |
135135
136-
$Url = "https://sourceforge.net/projects/boost/files/boost-binaries/1.78.0/boost_1_78_0-msvc-14.2-64.exe"
136+
$Url = "https://sourceforge.net/projects/boost/files/boost-binaries/1.88.0/boost_1_88_0-msvc-14.2-64.exe/download"
137137
(New-Object System.Net.WebClient).DownloadFile($Url, "$env:TEMP\boost.exe")
138-
Start-Process -Wait -FilePath "$env:TEMP\boost.exe" "/SILENT","/SP-","/SUPPRESSMSGBOXES","/DIR=C:\hostedtoolcache\windows\Boost\1.78.0\x86_64"
138+
Start-Process -Wait -FilePath "$env:TEMP\boost.exe" "/SILENT","/SP-","/SUPPRESSMSGBOXES","/DIR=C:\hostedtoolcache\windows\Boost\1.88.0\x86_64"
139139
displayName: 'install boost'
140140

141141
- powershell: |
@@ -146,7 +146,7 @@ steps:
146146
mkdir build
147147
cd build
148148
$env:CL="/D_WIN32_WINNT#0x0601 /DBOOST_THREAD_VERSION#3 /DBOOST_ALLOW_DEPRECATED_HEADERS /DBOOST_ASIO_NO_DEPRECATED"
149-
$env:BOOST_ROOT="C:\hostedtoolcache\windows\Boost\1.78.0\x86_64"
149+
$env:BOOST_ROOT="C:\hostedtoolcache\windows\Boost\1.88.0\x86_64"
150150
$env:PATH="$env:BOOST_ROOT\lib64-msvc-14.2;"+$env:PATH
151151
152152
cmake -A x64 -DMQTT_USE_TLS=$(MQTT_USE_TLS) -DMQTT_USE_WS=$(MQTT_USE_WS) -DMQTT_USE_STR_CHECK=$(MQTT_USE_STR_CHECK) -DMQTT_TEST_1=$(MQTT_TEST_1) -DMQTT_TEST_2=$(MQTT_TEST_2) -DMQTT_TEST_3=$(MQTT_TEST_3) -DMQTT_TEST_4=$(MQTT_TEST_4) -DMQTT_TEST_5=$(MQTT_TEST_5) -DMQTT_TEST_6=$(MQTT_TEST_6) -DMQTT_TEST_7=$(MQTT_TEST_7) -DMQTT_BUILD_EXAMPLES=$(MQTT_BUILD_EXAMPLES) ..

0 commit comments

Comments
 (0)