This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user