diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml new file mode 100644 index 0000000..898cb63 --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -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