From 1c74ee9c71542291ab7b4888936b798ccc907f64 Mon Sep 17 00:00:00 2001 From: maxine Date: Fri, 5 Jul 2024 09:30:20 -0400 Subject: [PATCH] Add ReCI build test --- .gitea/workflows/buildtest.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .gitea/workflows/buildtest.yml diff --git a/.gitea/workflows/buildtest.yml b/.gitea/workflows/buildtest.yml new file mode 100644 index 0000000..1bf1be9 --- /dev/null +++ b/.gitea/workflows/buildtest.yml @@ -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 }}."