Skip to content

Commit

Permalink
Try using Alexis SIFDecode CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jfowkes committed Apr 11, 2024
1 parent 156a6a5 commit 2518c70
Showing 1 changed file with 17 additions and 28 deletions.
45 changes: 17 additions & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,38 +3,37 @@ on:
push:
branches:
- master
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
name: CUTEst ${{ matrix.os }} ${{ matrix.compiler }}
name: CUTEst/${{ matrix.os }}/${{ matrix.compiler }}-v${{ matrix.version }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
compiler: gnu
compiler_version: 13
sifdecode_input: '1\n1\nn\n1'
compiler: gcc
version: '12'
sifdecode_input: '1\n1\nN1\nNyy'
cutest_input: '1\n1\nn\n1\n2\n2\nn\nn\ny\nd\ny\n'
arch: 'pc64.lnx.gfo'
- os: macos-latest
compiler: gnu
compiler_version: 13
sifdecode_input: '2\nn\n4'
compiler: gcc
version: '12'
sifdecode_input: '2\nN1\nNyy'
cutest_input: '2\nn\n4\n2\n2\nn\nn\ny\nd\ny\n'
arch: 'mac64.osx.gfo'
- os: ubuntu-latest
compiler: intel
compiler_version: 2024.1
sifdecode_input: '1\n1\nn\n2\nn\ny'
compiler: intel-classic
version: '2021.10'
sifdecode_input: '1\n1\nN2\nNyy'
cutest_input: '1\n1\nn\n2\nn\ny\n2\n8\nn\nn\ny\nd\ny\n'
arch: 'pc64.lnx.ifr'
- os: macos-latest
compiler: intel-classic
compiler_version: 2021.9
sifdecode_input: '2\nn\n2\nn\ny'
version: '2021.10'
sifdecode_input: '2\nN2\nNyy'
cutest_input: '2\nn\n5\n2\n4\nn\nn\ny\nd\ny\n'
arch: 'mac64.osx.ifr'
runs-on: ${{ matrix.os }}
Expand All @@ -44,11 +43,8 @@ jobs:
CUTEST: ${{ github.workspace }}
MASTSIF: ${{ github.workspace }}/sif
steps:
- name: Set up Homebrew
if: matrix.compiler == 'gnu'
uses: Homebrew/actions/setup-homebrew@master
- name: Check out
uses: actions/checkout@v3
- name: Checkout CUTEst
uses: actions/checkout@v4
- name: Download ARCHDefs
id: download-archdefs
uses: robinraju/[email protected]
Expand All @@ -73,18 +69,11 @@ jobs:
run: |
tar zxf SIFDecode-${{ steps.download-sifdecode.outputs.tag_name }}.tar.gz
mv ralna-SIFDecode-* SIFDecode
- name: Install GNU C and Fortran compilers
if: matrix.compiler == 'gnu'
uses: fortran-lang/setup-fortran@main
with:
compiler: gcc
version: ${{matrix.compiler_version}}
- name: Install Intel OneAPI C and Fortran compilers
if: matrix.compiler == 'intel'
- name: Install compilers
uses: fortran-lang/setup-fortran@main
with:
compiler: intel
version: ${{matrix.compiler_version}}
compiler: ${{ matrix.compiler }}
version: ${{ matrix.version }}
- name: Install SIFDecode
run: |
cd $SIFDECODE
Expand Down

0 comments on commit 2518c70

Please sign in to comment.