Add .forgejo/workflows/ci.yml from Claro v1.17.26 zip

This commit is contained in:
RayPals
2026-06-01 00:54:32 +02:00
parent 76edbdaf4e
commit a6127fd5c4
+24
View File
@@ -0,0 +1,24 @@
name: CI
on:
push:
pull_request:
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install build tools
run: sudo apt-get update && sudo apt-get install -y gcc make python3
- name: Build
run: make
- name: Run tests
run: ./claro test
- name: Check lessons
run: |
./claro check lessons/01_hello.claro
./claro check lessons/03_variables.claro
./claro check lessons/08_functions.claro
- name: Validate RC3
run: python3 tools/validate_rc3.py