-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Debug chart generation, add attempt at fortran testing
- Loading branch information
1 parent
c3136e2
commit 6eda997
Showing
5 changed files
with
82 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Fortran | ||
|
||
on: | ||
push: | ||
paths: | ||
- 'fortran/**' | ||
- '!fortran/README.rst' | ||
schedule: | ||
- cron: "0 0 1 * *" | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
fortran: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [windows-latest, macos-latest, macos-13, 'ubuntu-20.04'] | ||
toolchain: | ||
- {compiler: gcc, version: 13} | ||
- {compiler: intel, version: '2023.2'} | ||
- {compiler: intel-classic, version: '2021.10'} | ||
- {compiler: nvidia-hpc, version: '23.11'} | ||
include: | ||
- os: ubuntu-latest | ||
toolchain: {compiler: gcc, version: 12} | ||
- os: ubuntu-latest | ||
toolchain: {compiler: gcc, version: 11} | ||
- os: ubuntu-latest | ||
toolchain: {compiler: gcc, version: 10} | ||
- os: ubuntu-latest | ||
toolchain: {compiler: gcc, version: 9} | ||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: fortran-lang/setup-fortran@v1 | ||
id: setup-fortran | ||
with: | ||
compiler: ${{ matrix.toolchain.compiler }} | ||
version: ${{ matrix.toolchain.version }} | ||
|
||
- run: | | ||
${{ env.FC }} ... # environment vars FC, CC, and CXX are set | ||
${{ steps.setup-fortran.outputs.fc }} ... # outputs work too | ||
make fr_test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ on: | |
- '**/*.c' | ||
- '**/*.cpp' | ||
- '**/*.cs' | ||
- '**/*.f90' | ||
- '**/*.h' | ||
- '**/*.hpp' | ||
- '**/*.java' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters