Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4a40c38686 | |||
| 9955c1986c | |||
| 15fb311c66 | |||
| 5c5b886360 | |||
| 1eea074051 | |||
| 626cfa64f2 | |||
| 00da1c9f32 | |||
| c5ede14eaf | |||
| 981568f104 | |||
| 638c565702 | |||
| 81f8f709a2 | |||
| 6fea0e2450 | |||
| e881b6b699 | |||
| 2157b25a95 | |||
| f2dfee7a38 | |||
| 5afbf771ca |
34
.gitea/workflows/test.yaml
Normal file
34
.gitea/workflows/test.yaml
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
name: Verification
|
||||||
|
run-name: ${{ gitea.actor }} runs verification of the project
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- 'master'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Is-Buildable:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Ensure That Build system available
|
||||||
|
run: |
|
||||||
|
apt update
|
||||||
|
DEBIAN_FRONTEND=noninteractive apt install -y cmake make ninja-build gcc
|
||||||
|
- name: Prepare Environment
|
||||||
|
run: |
|
||||||
|
python3 -m venv $HOME/py/
|
||||||
|
source $HOME/py/bin/activate
|
||||||
|
echo PATH=$PATH >> $GITEA_ENV
|
||||||
|
pip install meson
|
||||||
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
submodules: 'true'
|
||||||
|
- name: Build project
|
||||||
|
run: |
|
||||||
|
cd ${{ gitea.workspace }}
|
||||||
|
meson setup build
|
||||||
|
meson compile -C build
|
||||||
|
- name: Unit Test Results
|
||||||
|
run: |
|
||||||
|
meson test -C build
|
||||||
|
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||||
Loading…
x
Reference in New Issue
Block a user