Skip to content

Commit

Permalink
Merge pull request #37 from minhqdao/update-actions
Browse files Browse the repository at this point in the history
Update and fix CI
  • Loading branch information
minhqdao authored Apr 19, 2024
2 parents d37685d + 908b5e6 commit 50fe93e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
29 changes: 13 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,19 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
toolchain:
# - { compiler: gcc, version: 13 }
- { compiler: gcc, version: 10 }
- { compiler: intel, version: 2023.2 }
# - { compiler: intel-classic, version: 2021.10 }
- { compiler: gcc, version: 13 }
- { compiler: intel, version: 2024.1 }
- { compiler: intel-classic, version: 2021.10 }
exclude:
- os: macos-latest
toolchain: { compiler: intel, version: 2023.2 }
# - os: macos-latest
# toolchain: { compiler: intel-classic, version: 2021.10 }
toolchain: { compiler: intel, version: 2024.1 }
- os: windows-latest
toolchain: { compiler: intel, version: 2024.1 }
- os: windows-latest
toolchain: { intel-classic, version: 2021.10 }
include:
- os: ubuntu-latest
toolchain: { compiler: nvidia-hpc, version: 23.11 }
- os: ubuntu-latest
toolchain: { compiler: intel-classic, version: 2021.10 }
# - os: macos-13
# toolchain: { compiler: intel-classic, version: 2021.10 }
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand All @@ -41,17 +38,17 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
os: [ubuntu-latest, macos-latest]
toolchain:
- { compiler: gcc, version: 13 }
- { compiler: intel, version: 2023.2 }
- { compiler: intel-classic, version: 2021.10 }
- { compiler: nvidia-hpc, version: 23.11 }
include:
exclude:
- os: macos-latest
toolchain: { compiler: gcc, version: 13 }
- os: macos-13
toolchain: { compiler: intel-classic, version: 2021.10 }
toolchain: { compiler: intel, version: 2023.2 }
- os: macos-latest
toolchain: { compiler: nvidia-hpc, version: 23.11 }
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions src/version_f.f90
Original file line number Diff line number Diff line change
Expand Up @@ -1111,6 +1111,7 @@ pure function create_comp_set(comps) result(comp_set)
!> Instance of `comparator_set_t` created from `comps`.
type(comparator_set_t) :: comp_set

allocate (comp_set%comps(size(comps)))
comp_set%comps = comps
end

Expand Down

0 comments on commit 50fe93e

Please sign in to comment.