ci: add initial Actions which only builds the code
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
This commit is contained in:
parent
6f8a5f35fe
commit
7e27cb6e91
1 changed files with 35 additions and 0 deletions
35
.github/workflows/ci.yml
vendored
Normal file
35
.github/workflows/ci.yml
vendored
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
# SPDX-License-Identifier: GPL-2.0
|
||||
#
|
||||
# Copyright (c) 2024 Linaro Ltd.
|
||||
# Author: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
|
||||
# <krzk@kernel.org>
|
||||
|
||||
name: "Builds"
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
schedule:
|
||||
# Run at 1:01 AM, every Tuesday
|
||||
- cron: '1 1 * * 2'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
job:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
|
||||
steps:
|
||||
- name: Git checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install -y --no-install-recommends \
|
||||
alsa-utils
|
||||
|
||||
- name: Build Project
|
||||
uses: threeal/cmake-action@v2.0.0
|
||||
Loading…
Add table
Add a link
Reference in a new issue