Attempt to setup gitea build action #1
@@ -5,7 +5,8 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- run: echo "Branch ${{ gitea.ref }} will be built for project ${{ gitea.repository }}."
|
- name: Starting action...
|
||||||
|
run: echo "Branch ${{ gitea.ref }} will be built for project ${{ gitea.repository }}."
|
||||||
- name: Checkout branch
|
- name: Checkout branch
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Update package cache
|
- name: Update package cache
|
||||||
@@ -18,3 +19,7 @@ jobs:
|
|||||||
run: meson setup builddir -Db_coverage=true
|
run: meson setup builddir -Db_coverage=true
|
||||||
- name: build all targets
|
- name: build all targets
|
||||||
run: ninja -C builddir
|
run: ninja -C builddir
|
||||||
|
- name: run unit tests
|
||||||
|
run: ninja -C builddir test
|
||||||
|
- name: calculate coverage
|
||||||
|
run: ninja -C builddir coverage-text
|
||||||
|
Reference in New Issue
Block a user