feat: add build server configuration for automated CI pipeline
This commit introduces a new build server setup to enable continuous integration and automated builds. The configuration includes server initialization scripts, dependency management, and build trigger definitions to streamline the development workflow.
This commit is contained in:
parent
8265ede65c
commit
fc83646be0
22
.gitea/workflows/build.yaml
Normal file
22
.gitea/workflows/build.yaml
Normal file
@ -0,0 +1,22 @@
|
||||
name: Build and test Zhurnal
|
||||
run-name: Build and test Zhurnal process minitor
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
Test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
- name: List files in the repository
|
||||
run: |
|
||||
ls ${{ gitea.workspace }}
|
||||
- run: echo "Install dependencies."
|
||||
- run: apt update
|
||||
- run: apt install python3 python3-pip python3-venv make -y
|
||||
- run: make
|
||||
- run: git add .
|
||||
- run: git config --global user.email "bot@molodetz.com"
|
||||
- run: git config --global user.name "bot"
|
||||
- run: git commit -a -m "Update export statistics"
|
||||
- run: git push
|
||||
Loading…
Reference in New Issue
Block a user