Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 45 additions & 45 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
name: CI

on: [push, pull_request]

jobs:
build-and-test:
runs-on: ${{ matrix.os }}
timeout-minutes: 20
strategy:
matrix:
os: [ubuntu-latest]
toolchain:
- {compiler: gcc, version: 9}
- {compiler: gcc, version: 10}
- {compiler: gcc, version: 11}
- {compiler: gcc, version: 12}
- {compiler: gcc, version: 13}
- {compiler: gcc, version: 14}
- {compiler: intel, version: '2023.2'}
- {compiler: intel, version: '2024.0'}
- {compiler: intel, version: '2025.0'}
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup fortran
uses: fortran-lang/setup-fortran@v1.6.3
with:
compiler: ${{ matrix.toolchain.compiler }}
version: ${{ matrix.toolchain.version }}

- name: Setup fpm
uses: fortran-lang/setup-fpm@v9
with:
fpm-version: 'v0.13.0'

- name: Build
run: |
fpm build --profile debug

- name: Run unit tests
run: fpm test check

- name: Run benchmarks
run: fpm test --profile release --target benchmark_compare
name: CI
on: [push, pull_request]
jobs:
build-and-test:
runs-on: ${{ matrix.os }}
timeout-minutes: 20
strategy:
matrix:
os: [ubuntu-latest]
toolchain:
- {compiler: gcc, version: 9}
- {compiler: gcc, version: 10}
- {compiler: gcc, version: 11}
- {compiler: gcc, version: 12}
- {compiler: gcc, version: 13}
- {compiler: gcc, version: 14}
- {compiler: intel, version: '2023.2'}
- {compiler: intel, version: '2024.0'}
- {compiler: intel, version: '2025.0'}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup fortran
uses: fortran-lang/setup-fortran@v1.6.3
with:
compiler: ${{ matrix.toolchain.compiler }}
version: ${{ matrix.toolchain.version }}
- name: Setup fpm
uses: fortran-lang/setup-fpm@v9
with:
fpm-version: 'v0.13.0'
- name: Build
run: |
fpm build --profile debug
- name: Run unit tests
run: fpm test check
- name: Run benchmarks
run: fpm test --profile release --target benchmark_compare
86 changes: 43 additions & 43 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
# Deploy documentation to gh-pages
name: Deploy Doxygen Documentation

on:
push:
branches:
- main

jobs:
build-and-deploy:
runs-on: ubuntu-latest

env:
DOXYGEN_VERSION: '1.13.2'

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install graphviz -y

- name: Install Doxygen v${{ env.DOXYGEN_VERSION }}
run: |
transformed_version=$(echo "${{ env.DOXYGEN_VERSION }}" | tr '.' '_')
wget https://github.com/doxygen/doxygen/releases/download/Release_${transformed_version}/doxygen-${{ env.DOXYGEN_VERSION }}.linux.bin.tar.gz
tar -xzf doxygen-${{ env.DOXYGEN_VERSION }}.linux.bin.tar.gz
sudo mv doxygen-${{ env.DOXYGEN_VERSION }}/bin/doxygen /usr/local/bin/doxygen

- name: Generate Doxygen Documentation
run: cd project/doxygen && doxygen

- name: Create .nojekyll file
run: echo "" > ./project/doxygen/html/.nojekyll

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./project/doxygen/html
# Deploy documentation to gh-pages
name: Deploy Doxygen Documentation
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
env:
DOXYGEN_VERSION: '1.13.2'
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install graphviz -y
- name: Install Doxygen v${{ env.DOXYGEN_VERSION }}
run: |
transformed_version=$(echo "${{ env.DOXYGEN_VERSION }}" | tr '.' '_')
wget https://github.com/doxygen/doxygen/releases/download/Release_${transformed_version}/doxygen-${{ env.DOXYGEN_VERSION }}.linux.bin.tar.gz
tar -xzf doxygen-${{ env.DOXYGEN_VERSION }}.linux.bin.tar.gz
sudo mv doxygen-${{ env.DOXYGEN_VERSION }}/bin/doxygen /usr/local/bin/doxygen
- name: Generate Doxygen Documentation
run: cd project/doxygen && doxygen
- name: Create .nojekyll file
run: echo "" > ./project/doxygen/html/.nojekyll
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./project/doxygen/html
18 changes: 9 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
build/
*.mod
*.smod
*.o
project/doxygen/
project/doxygen/html/
.cache/
.claude/
CLAUDE.md
build/
*.mod
*.smod
*.o
project/doxygen/
project/doxygen/html/
.cache/
.claude/
CLAUDE.md
Loading
Loading