From 0827a0797511ac8ea4a34c1ddb533552503bf96b Mon Sep 17 00:00:00 2001 From: Ava Affine Date: Mon, 21 Jul 2025 09:48:25 -0700 Subject: [PATCH] add forgejo ci Signed-off-by: Ava Affine --- .forgejo/workflows/test.yml | 44 +++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .forgejo/workflows/test.yml diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml new file mode 100644 index 0000000..2f6d157 --- /dev/null +++ b/.forgejo/workflows/test.yml @@ -0,0 +1,44 @@ +name: "per-push tests" + +on: + push: + branches: + - main + pull_request: + pull_request_target: + types: + - opened + - synchronized + - reopened + +jobs: + build: + runs-on: docker + steps: + - name: checkout code + uses: actions/checkout@v4 + - name: install toolchain + run: | + - apt update + - apt install -y make + - apt install -y gcc + - export CC=$(which gcc) + - name: compile + run: | + make alog-so + + test: + runs-on: docker + steps: + - name: checkout code + uses: actions/checkout@v4 + - name: install toolchain + run: | + - apt update + - apt install -y make + - apt install -y gcc + - export CC=$(which gcc) + - name: compile + run: | + make alog-tests +