Skip to content

Commit cfcacc0

Browse files
committed
Try additional compilers
1 parent 2da2258 commit cfcacc0

File tree

3 files changed

+100
-0
lines changed

3 files changed

+100
-0
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: FortUTF Ubuntu lfortran 0.33.0
2+
3+
on: [push, pull_request]
4+
5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.ref }}
7+
cancel-in-progress: true
8+
9+
jobs:
10+
build:
11+
name: Intel Latest Tests
12+
runs-on: 'ubuntu-24.04'
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Setup cmake
16+
uses: jwlawson/actions-setup-cmake@v2
17+
with:
18+
cmake-version: '3.31.x'
19+
- name: Setup Intel ifort compiler
20+
uses: fortran-lang/setup-fortran@v1
21+
id: setup-fortran
22+
with:
23+
compiler: lfortran
24+
version: '0.33.0'
25+
- name: Build Tests
26+
run: |
27+
lfortran --version
28+
cmake -H. -Bbuild -DBUILD_TESTS=ON -DCMAKE_Fortran_COMPILER=lfortran
29+
cmake --build build
30+
- name: Run Tests
31+
run: |
32+
./build/FortUTF_Tests
33+
if [ $? -eq 0 ]; then
34+
echo "Unit Tests completed successfully"
35+
exit 0
36+
else
37+
echo "Unit Tests failed"
38+
exit 1
39+
fi
40+
- name: Run Test List
41+
run: |
42+
./build/FortUTF_Tests TEST_FAIL_EQUAL_CHAR TEST_EQUAL_CHAR
43+
if [ $? -eq 0 ]; then
44+
echo "Unit Tests completed succesfully"
45+
exit 0
46+
else
47+
echo "Unit Tests failed"
48+
exit 1
49+
fi
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: FortUTF Ubuntu NVidia Fortran 23.11
2+
3+
on: [push, pull_request]
4+
5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.ref }}
7+
cancel-in-progress: true
8+
9+
jobs:
10+
build:
11+
name: Intel Latest Tests
12+
runs-on: 'ubuntu-24.04'
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Setup cmake
16+
uses: jwlawson/actions-setup-cmake@v2
17+
with:
18+
cmake-version: '3.31.x'
19+
- name: Setup Intel ifort compiler
20+
uses: fortran-lang/setup-fortran@v1
21+
id: setup-fortran
22+
with:
23+
compiler: nvfortran
24+
version: '23.11'
25+
- name: Build Tests
26+
run: |
27+
nvfortran --version
28+
cmake -H. -Bbuild -DBUILD_TESTS=ON -DCMAKE_Fortran_COMPILER=nvfortran
29+
cmake --build build
30+
- name: Run Tests
31+
run: |
32+
./build/FortUTF_Tests
33+
if [ $? -eq 0 ]; then
34+
echo "Unit Tests completed successfully"
35+
exit 0
36+
else
37+
echo "Unit Tests failed"
38+
exit 1
39+
fi
40+
- name: Run Test List
41+
run: |
42+
./build/FortUTF_Tests TEST_FAIL_EQUAL_CHAR TEST_EQUAL_CHAR
43+
if [ $? -eq 0 ]; then
44+
echo "Unit Tests completed succesfully"
45+
exit 0
46+
else
47+
echo "Unit Tests failed"
48+
exit 1
49+
fi

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ A purely FORTRANic framework for testing FORTRAN code
77
[![FortUTF macOS GFortran 13](https://github.com/artemis-beta/FortUTF/actions/workflows/futs_mac.yml/badge.svg)](https://github.com/artemis-beta/FortUTF/actions/workflows/futs_mac.yml)
88

99
[![FortUTF Ubuntu Intel 2025](https://github.com/artemis-beta/FortUTF/actions/workflows/futs_intel.yml/badge.svg)](https://github.com/artemis-beta/FortUTF/actions/workflows/futs_intel.yml)
10+
[![FortUTF Ubuntu lfortran 0.33.0](https://github.com/artemis-beta/FortUTF/actions/workflows/futs_lfortran.yml/badge.svg)](https://github.com/artemis-beta/FortUTF/actions/workflows/futs_lfortran.yml)
11+
[![FortUTF Ubuntu NVidia Fortran 23.11](https://github.com/artemis-beta/FortUTF/actions/workflows/futs_nvfortran.yml/badge.svg)](https://github.com/artemis-beta/FortUTF/actions/workflows/futs_nvfortran.yml)
1012

1113
[![codecov](https://codecov.io/gh/artemis-beta/FortUTF/branch/master/graph/badge.svg?token=tIwLkKYQ98)](https://codecov.io/gh/artemis-beta/FortUTF)
1214

0 commit comments

Comments
 (0)