Add Gitea CI workflow
FemLite CI / build-test (push) Has been cancelled

This commit is contained in:
shenw
2026-06-23 00:00:24 +08:00
parent e8678a7582
commit b36d95e7f6
+27
View File
@@ -0,0 +1,27 @@
name: FemLite CI
on:
push:
pull_request:
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install toolchain
run: |
sudo apt-get update
sudo apt-get install -y gfortran cmake python3
- name: Configure
run: cmake -S . -B build-ci -DCMAKE_BUILD_TYPE=Debug
- name: Build
run: cmake --build build-ci -j2
- name: Test
run: ctest --test-dir build-ci --output-on-failure