File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
name : Build & Test
2
2
3
3
on : [push, pull_request]
4
+ env :
5
+ LIBSMCE_TAG : v1.4.0
6
+ LIBSMCE_VERSION : 1.4
4
7
5
8
jobs :
6
9
Linux :
18
21
brew install arduino-cli
19
22
arduino-cli core install arduino:avr
20
23
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"
22
25
chmod +x libsmce.sh
23
26
sudo ./libsmce.sh --prefix=/usr --skip-license --exclude-subdir
24
27
- uses : actions/checkout@v2
53
56
brew install ninja arduino-cli
54
57
arduino-cli core install arduino:avr
55
58
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"
57
60
chmod +x libsmce.sh
58
61
sudo ./libsmce.sh --prefix=/usr/local --skip-license --exclude-subdir
59
62
- uses : actions/checkout@v2
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ cmake_minimum_required(VERSION 3.20)
20
20
project (smce-rs )
21
21
22
22
find_package (Threads REQUIRED )
23
- find_package (SMCE REQUIRED )
23
+ find_package (SMCE 1.4 REQUIRED )
24
24
25
25
get_target_property (SMCE_INCLUDE_DIRS SMCE::SMCE INTERFACE_INCLUDE_DIRECTORIES )
26
26
get_target_property (SMCE_IMPORTED_LOCATION SMCE::SMCE LOCATION )
You can’t perform that action at this time.
0 commit comments