Skip to content

Commit 3de9f4f

Browse files
committed
Specify right libSMCE version
1 parent f4b2b87 commit 3de9f4f

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/build.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Build & Test
22

33
on: [push, pull_request]
4+
env:
5+
LIBSMCE_TAG: v1.4.0
6+
LIBSMCE_VERSION: 1.4
47

58
jobs:
69
Linux:
@@ -18,7 +21,7 @@ jobs:
1821
brew install arduino-cli
1922
arduino-cli core install arduino:avr
2023
arduino-cli lib install MQTT SD WiFi
21-
wget -O libsmce.sh https://github.com/ItJustWorksTM/libSMCE/releases/download/v1.2.4/libSMCE-1.2.4-Linux-x86_64-GNU.sh
24+
wget -O libsmce.sh "https://github.com/ItJustWorksTM/libSMCE/releases/download/${LIBSMCE_TAG}/libSMCE-${LIBSMCE_VERSION}-Linux-x86_64-GNU.sh"
2225
chmod +x libsmce.sh
2326
sudo ./libsmce.sh --prefix=/usr --skip-license --exclude-subdir
2427
- uses: actions/checkout@v2
@@ -53,7 +56,7 @@ jobs:
5356
brew install ninja arduino-cli
5457
arduino-cli core install arduino:avr
5558
arduino-cli lib install MQTT SD WiFi
56-
wget -O libsmce.sh https://github.com/ItJustWorksTM/libSMCE/releases/download/v1.2.4/libSMCE-1.2.4-Darwin-x86_64-AppleClang.sh
59+
wget -O libsmce.sh "https://github.com/ItJustWorksTM/libSMCE/releases/download/${LIBSMCE_TAG}/libSMCE-${LIBSMCE_VERSION}-Darwin-x86_64-AppleClang.sh"
5760
chmod +x libsmce.sh
5861
sudo ./libsmce.sh --prefix=/usr/local --skip-license --exclude-subdir
5962
- uses: actions/checkout@v2

build/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ cmake_minimum_required(VERSION 3.20)
2020
project(smce-rs)
2121

2222
find_package(Threads REQUIRED)
23-
find_package(SMCE REQUIRED)
23+
find_package(SMCE 1.4 REQUIRED)
2424

2525
get_target_property(SMCE_INCLUDE_DIRS SMCE::SMCE INTERFACE_INCLUDE_DIRECTORIES)
2626
get_target_property(SMCE_IMPORTED_LOCATION SMCE::SMCE LOCATION)

0 commit comments

Comments
 (0)