24 lines
1.2 KiB
YAML
24 lines
1.2 KiB
YAML
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 lua5.3 git libxrandr-dev libvulkan-dev && git clone $RECI_GIT $RECI
|
|
- run: lua $RECI/reci.lua -f $RECI/scripts/buildtools.reci -f reci/scripts/builddeps.reci -f $RECI/scripts/buildtest.reci
|
|
- run: echo this exists so I can run the reci test
|
|
- run: echo "This job's status is ${{ job.status }}."
|