aktualizr: reportqueue: Do not wake up periodically on empty queue #1030
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Aklite CI Tests | |
on: | |
push: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
clang: | |
name: Clang Format And Tidy | |
runs-on: ubuntu-latest | |
container: | |
image: foundries/aklite-dev | |
env: | |
CXX: clang++ | |
CC: clang | |
CCACHE_DIR: /tmp/ccache | |
steps: | |
- uses: actions/checkout@v3 | |
- run: git config --global --add safe.directory /__w/aktualizr-lite/aktualizr-lite | |
- run: git submodule update --init --recursive | |
- name: config | |
run: make -f dev-flow.mk config | |
- name: format | |
run: make -f dev-flow.mk format | |
- name: tidy | |
run: make -f dev-flow.mk tidy | |
custom-client: | |
name: Install Akite and Build Custom Client | |
runs-on: ubuntu-latest | |
container: | |
image: foundries/aklite-dev | |
options: --privileged | |
env: | |
CXX: clang++ | |
CC: clang | |
CCACHE_DIR: /tmp/ccache | |
steps: | |
- uses: actions/checkout@v3 | |
- run: git config --global --add safe.directory /__w/aktualizr-lite/aktualizr-lite | |
- run: git submodule update --init --recursive | |
- name: build | |
run: make -f dev-flow.mk config build | |
- name: install | |
run: sudo make -f dev-flow.mk install | |
- name: custom-client | |
run: make -f dev-flow.mk custom-client | |
garage-tools: | |
name: Build Garage Tools | |
runs-on: ubuntu-latest | |
container: | |
image: foundries/aklite-dev | |
env: | |
CXX: clang++ | |
CC: clang | |
CCACHE_DIR: /tmp/ccache | |
steps: | |
- uses: actions/checkout@v3 | |
- run: git config --global --add safe.directory /__w/aktualizr-lite/aktualizr-lite | |
- run: git submodule update --init --recursive | |
- name: build garage tools | |
run: make -f dev-flow.mk garage-tools | |
- name: check garage tools | |
run: | | |
if [[ ! -f build-garage/aktualizr/src/sota_tools/garage-sign/bin/garage-sign ]]; then | |
echo "Failed to build garage-sign!" | |
exit 1 | |
fi | |
if [[ ! -f build-garage/aktualizr/src/sota_tools/garage-push ]]; then | |
echo "Failed to build garage-push!" | |
exit 1 | |
fi | |
test: | |
name: Tests | |
runs-on: ubuntu-latest | |
container: | |
image: foundries/aklite-dev | |
env: | |
CXX: clang++ | |
CC: clang | |
CCACHE_DIR: /tmp/ccache | |
steps: | |
- uses: actions/checkout@v3 | |
- run: git config --global --add safe.directory /__w/aktualizr-lite/aktualizr-lite | |
- run: git submodule update --init --recursive | |
- name: test | |
run: make -f dev-flow.mk config build test |