alog/.forgejo/workflows/test.yml
Ava Affine 94147823bb
All checks were successful
per-push tests / build (push) Successful in 8s
per-push tests / test (push) Successful in 13s
add forgejo ci
Signed-off-by: Ava Affine <ava@sunnypup.io>
2025-07-21 10:14:01 -07:00

44 lines
821 B
YAML

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