Skip to content

Commit

Permalink
Improve CI scripts based on reviewer feedback
Browse files Browse the repository at this point in the history
Move testing to own step in Flang CI Script
Rename CI script where only gfortran is used to be consistent
with name of CI script where only Flang is used
  • Loading branch information
ktras committed Jan 17, 2025
1 parent b68ef9d commit d6c88b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: Build with gfortran

on: [push, pull_request]

Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/build-with-flang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,19 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Build and Test with LLVM Flang
- name: Build with LLVM Flang
if: contains(matrix.os, 'ubuntu')
run: |
fpm --version
$FC --version
$CC --version
export FPM_FC=$FC
export FPM_CC=$CC
export GASNET_PSHM_NODES=8
apt update
apt install -y build-essential pkg-config make
./install.sh
- name: Run unit tests
run: |
export GASNET_PSHM_NODES=8
./build/run-fpm.sh test -- -d

0 comments on commit d6c88b5

Please sign in to comment.