Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: workflow adjusted
  • Loading branch information
PawelKorsak committed Mar 26, 2026
commit 18d5d33e7ebb89259080902f6a91a92434c954ae
11 changes: 8 additions & 3 deletions .github/workflows/mab_candle_sdk_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ jobs:
with:
python-version: "3.13"

- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y python3-dev python3.13-dev build-essential

- name: Checkout
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -140,7 +145,7 @@ jobs:

- name: Build
run: cmake --build ./build -j$(nproc)

- name: Rename artifact to arch dependant name
run: |
mv build/candlelib/libcandle.so build/candlelib/libcandle-x86_64.so
Expand Down Expand Up @@ -255,10 +260,10 @@ jobs:
- name: CMake configure
run: |
cmake -DCMAKE_BUILD_TYPE=Release -DCANDLE_BUILD_STATIC=OFF --toolchain ./cmake/linux.armhf.toolchain.cmake ./ -B build -G "Unix Makefiles" .

- name: Build
run: cmake --build ./build -j$(nproc)

- name: Rename artifact to arch dependant name
run: |
mv build/candlelib/libcandle.so build/candlelib/libcandle-armhf.so
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ TEST_F(CandleFrameAdapterTest, readerFailError)
std::vector<std::future<std::pair<std::vector<u8>, CANdleFrameAdapter::Error_t>>> futures;

canId_t canId = 100;
u16 timeout = 10;
u16 timeout = 20;
for (const auto& data : mockDataVector)
{
futures.push_back(std::async(std::launch::async,
Expand All @@ -110,4 +110,4 @@ TEST_F(CandleFrameAdapterTest, readerFailError)
lastResult = result.second;
}
EXPECT_EQ(CANdleFrameAdapter::Error_t::READER_TIMEOUT, lastResult);
}
}
Loading