chore: add initial CI workflow with build and test steps on push
Add .gitea/workflows/main.yml defining a Build and Test pipeline triggered on push events. The workflow checks out the repository, runs `make` to compile the project, and executes `make test` for automated testing on ubuntu-latest.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
name: Build and Test
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Build
|
||||
run: make
|
||||
- name: Test
|
||||
run: make test
|
||||
Reference in New Issue
Block a user