-
Notifications
You must be signed in to change notification settings - Fork 211
31 lines (28 loc) · 1.18 KB
/
release.yml
File metadata and controls
31 lines (28 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Release automation
permissions:
contents: write
pull-requests: write
on:
workflow_dispatch:
inputs:
version_number:
description: 'Release Version Number (Eg, v1.0.0)'
required: true
branch:
description: 'Branch to release from'
required: false
default: 'main'
jobs:
release:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Release
uses: FreeRTOS/CI-CD-Github-Actions/release@main
with:
version_number: ${{ github.event.inputs.version_number }}
branch: ${{ github.event.inputs.branch }}
github_token: ${{ secrets.GITHUB_TOKEN }}
repo_build_command: sudo apt-get install -y libpcap-dev && rm -rf ../build && cmake -S. -B ../build -DSTANDALONE_TEST_BUILD_UNIX=1 && make -C ../build all
run_test_command: 'sudo apt-get install -y lcov unifdef ninja-build && rm -rf ../build && cmake --fresh -G Ninja -S test/unit-test -B ../build/ -DBUILD_CLONE_SUBMODULES=1 -DSANITIZE=address,undefined && ninja -C ../build && ASAN_OPTIONS=detect_odr_violation=0 ctest --test-dir ../build/ -E system --output-on-failure'
changelog_file: History.txt