Add ReCI build test
This commit is contained in:
23
.gitea/workflows/buildtest.yml
Normal file
23
.gitea/workflows/buildtest.yml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
name: Run ReCI Build Test
|
||||||
|
run-name: Run ReCI Build Test For ${{ gitea.repository }}.
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Explore-Gitea-Actions:
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
|
env:
|
||||||
|
RECI_GIT: https://git.redacted.cc/maxine/ReCI
|
||||||
|
RECI: /RECI
|
||||||
|
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."
|
||||||
|
- run: echo "The workflow is now ready to run your tests on the runner."
|
||||||
|
- run: echo "Install toolchain and run ReCI build test"
|
||||||
|
- run: apt-get update && apt-get install -y git && git clone $RECI_GIT $RECI
|
||||||
|
- run: bash $RECI/scripts/setup_build_tools.sh
|
||||||
|
- run: bash $RECI/scripts/run_buildtest.sh ${{ gitea.repository }}
|
||||||
|
- run: echo "This job's status is ${{ job.status }}."
|
Reference in New Issue
Block a user