Skip to content

Commit

Permalink
Added github actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
loiseaujc committed Feb 9, 2024
1 parent 239e870 commit cf51015
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/gcc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: GCC

on:
workflow_dispatch:
push:
branches:
- master
- main
pull_request:

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
main:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install Dependencies
run: sudo apt update && sudo apt install -y gfortran

- name: Install fpm
uses: fortran-lang/setup-fpm@v5
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Run Tests
run: fpm test --flag "-g -fbacktrace -O3"

0 comments on commit cf51015

Please sign in to comment.