Skip to content

Commit 1f4d9bd

Browse files
authored
Add Alpine Linux CI (UniversalRobots#452)
1 parent 3a272a7 commit 1f4d9bd

5 files changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/alpine-build.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Alpine build and tests
2+
on:
3+
workflow_dispatch:
4+
pull_request:
5+
push:
6+
branches:
7+
- master
8+
schedule:
9+
- cron: '38 2 * * *'
10+
11+
jobs:
12+
alpine-build:
13+
runs-on: ubuntu-latest
14+
container: alpine:latest
15+
timeout-minutes: 30
16+
17+
steps:
18+
- name: install dependencies
19+
run: apk add --no-cache build-base cmake linux-headers git
20+
- uses: actions/checkout@v6
21+
- name: configure
22+
run: mkdir build && cd build && cmake .. -DBUILDING_TESTS=1
23+
- name: build
24+
run: cmake --build build --config Debug
25+
- name: test
26+
run: cd build && ctest --output-on-failure

include/ur_client_library/comm/control_mode.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
#define UR_CLIENT_LIBRARY_CONTROL_MODE_H_INCLUDED
3131

3232
#include <algorithm>
33+
#include <cstdint>
3334
#include <vector>
3435

3536
namespace urcl

include/ur_client_library/comm/tcp_server.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131

3232
#include <atomic>
3333
#include <chrono>
34+
#include <cstddef>
35+
#include <cstdint>
3436
#include <functional>
3537
#include <thread>
3638
#include <vector>

include/ur_client_library/rtde/data_package.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
#ifndef UR_CLIENT_LIBRARY_DATA_PACKAGE_H_INCLUDED
3030
#define UR_CLIENT_LIBRARY_DATA_PACKAGE_H_INCLUDED
3131

32+
#include <algorithm>
3233
#include <unordered_map>
3334
#include <variant>
3435
#include <vector>

src/helpers.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
#include <ur_client_library/log.h>
3232

3333
#include <algorithm>
34+
#include <cctype>
3435
#include <cstring>
3536
#include <fstream>
3637
#include <iostream>

0 commit comments

Comments
 (0)