Skip to content

Commit

Permalink
Merge pull request #22 from ckormanyos/update_ci_and_license
Browse files Browse the repository at this point in the history
Update and simplify CI and licensing
  • Loading branch information
ckormanyos authored Mar 18, 2024
2 parents 713adde + ac4a594 commit 32176d6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/gamma_f77.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,17 +169,11 @@ jobs:
valgrind --leak-check=yes --log-file=gamma_valgrind_8.txt ./gamma.exe | grep '0.296439082102472192334520537379648E+06'
valgrind --leak-check=yes --log-file=gamma_valgrind_9.txt ./gamma.exe | grep '0.554521067573633755529159865936434E-01'
valgrind --leak-check=yes --log-file=gamma_valgrind_10.txt ./gamma.exe | grep '0.265252859812191058636308480000000E+33'
- name: ubuntu-native-valgrind-blocks
- name: ubuntu-native-valgrind-check
run: |
#!/bin/bash
for i in {0..10}; do
filename="gamma_valgrind_$i.txt"
grep '0 bytes in 0 blocks' $filename
done
- name: ubuntu-native-valgrind-contexts
run: |
#!/bin/bash
for i in {0..10}; do
filename="gamma_valgrind_$i.txt"
grep '0 errors from 0 contexts' $filename
done
8 changes: 7 additions & 1 deletion gamma.f
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC80
C
C Copyright Christopher Kormanyos 1987 - 2024.
C Distributed under the Boost Software License,
C Version 1.0. (See accompanying file LICENSE_1_0.txt
C or copy at http://www.boost.org/LICENSE_1_0.txt)
C
C cd /mnt/c/Users/User/Documents/Ks/PC_Software/Fortran/gamma
C Compile with legacy (FORTRAN77).
C g++ -x f77 -std=legacy -O2 gamma.f -lgfortran -lquadmath -o gamma.exe
Expand Down Expand Up @@ -152,7 +158,7 @@ PROGRAM GAMMA
CALL TGAMMA(X, GA)
WRITE(6, "(E44.33)") GA

END
END PROGRAM GAMMA
C
C Program Output:
C
Expand Down

0 comments on commit 32176d6

Please sign in to comment.