EHS/.gitea/workflows/demo.yaml
karutoh ccc24cd38f
All checks were successful
Raspberry Pi 4 Build / Explore-Gitea-Actions (push) Successful in 3m6s
Test
2024-01-31 15:56:11 -08:00

39 lines
1.3 KiB
YAML

name: Raspberry Pi 4 Build
run-name: ${{ gitea.actor }} is testing out Gitea Actions
on:
push:
tags:
- "v*"
jobs:
Explore-Gitea-Actions:
runs-on: linux-aarch64
steps:
- run: echo "The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: Check out repository code
uses: actions/checkout@v3
- run: echo "The ${{ gitea.repository }} repository has been cloned to the runner."
- name: Installing Dependencies
run: sudo apt install -y libasound2-dev libxcb1-dev libxcb-xinput-dev libxcb-cursor-dev
- name: Building/Compiling Project
run: |
cd ${{ gitea.workspace }}
cmake -DCMAKE_BUILD_TYPE=Debug -DLINUX_WINDOW_SYSTEM:STRING=XCB .
cmake --build . --config Debug
- uses: https://github.com/actions/setup-go@v4
with:
go-version: '>=1.20.1'
- name: Use Go Action
id: use-go-action
uses: https://gitea.com/actions/release-action@main
with:
files: |-
libEHS.a
api_key: '${{secrets.RELEASE_TOKEN}}'
- run: echo "This job's status is ${{ job.status }}."