Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sgarnotel committed Dec 8, 2023
1 parent f5f77b6 commit a8fb6fb
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 23 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/job1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ jobs:
name: Job1 - Linux
runs-on: ubuntu-latest

env:
HOME: /home/runner

steps:
- uses: actions/checkout@main

Expand All @@ -21,7 +24,7 @@ jobs:
run: make -j2

- name: Check
run: make check | true
run: make check || true

- name: Install
run: make install
Expand All @@ -31,20 +34,18 @@ jobs:
runs-on: macos-latest

env:
HOME: /home/runner
CC: gcc
CXX: g++
FC: gfortran
F77: gfortran
FC: gfortran12
F77: gfortran12 #TODO find a way to define gfortran only

steps:
- uses: actions/checkout@main

- name: Install
run: brew install gcc m4 git flex bison

- name: Ensure gfortran
run: ln -s /usr/local/bin/gfortran-12 /usr/local/bin/gfortran

- name: Configure
run: |
tar xvf AutoGeneratedFile.tar.gz
Expand All @@ -54,7 +55,7 @@ jobs:
run: make -j2

- name: Check
run: make check | true
run: make check || true

- name: Install
run: make install
Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/job2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ jobs:
name: Job2 - Linux
runs-on: ubuntu-latest

env:
HOME: /home/runner

steps:
- uses: actions/checkout@main

Expand All @@ -24,7 +27,7 @@ jobs:
run: make -j2

- name: Check
run: make check | true
run: make check || true

- name: Install
run: make install
Expand All @@ -34,20 +37,18 @@ jobs:
runs-on: macos-latest

env:
HOME: /home/runner
CC: clang
CXX: clang++
FC: gfortran
F77: gfortran
FC: gfortran12
F77: gfortran12 #TODO find a way to define gfortran only

steps:
- uses: actions/checkout@main

- name: Install
run: brew install gcc m4 git flex bison suitesparse hdf5

- name: Ensure gfortran
run: ln -s /usr/local/bin/gfortran-12 /usr/local/bin/gfortran

- name: Configure
run: |
tar xvf AutoGeneratedFile.tar.gz
Expand All @@ -57,7 +58,7 @@ jobs:
run: make -j2

- name: Check
run: make check | true
run: make check || true

- name: Install
run: make install
Expand Down
19 changes: 10 additions & 9 deletions .github/workflows/job3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ jobs:
name: Job3 - Linux
runs-on: ubuntu-latest

env:
HOME: /home/runner

steps:
- uses: actions/checkout@main

Expand All @@ -19,14 +22,14 @@ jobs:
- name: Configure
run: |
autoreconf -i
./configure --enable-download --without-mpi --prefix="$WORKSPACE/install"
./configure --enable-download --without-mpi --prefix="${HOME}/freefem"
./3rdparty/getall -a -o ARPACK,METIS,ParMETIS,ScaLAPACK,Scotch,SuiteSparse,SuperLU,mmg,parmmg,hpddm,bemtool,Boost,libpthread-google,TetGen,Ipopt,NLopt,freeYams,FFTW,Gmm++,MMG3D,mshmet,MUMPS,htool
- name: Build
run: make -j2

- name: Check
run: make check | true
run: make check || true

- name: Install
run: make install
Expand All @@ -36,31 +39,29 @@ jobs:
runs-on: macos-latest

env:
HOME: /home/runner
CC: clang
CXX: clang++
FC: gfortran
F77: gfortran
FC: gfortran12
F77: gfortran12 #TODO find a way to define gfortran only

steps:
- uses: actions/checkout@main

- name: Install
run: brew install gcc m4 git flex bison suitesparse hdf5 cmake wget autoconf automake

- name: Ensure gfortran
run: ln -s /usr/local/bin/gfortran-12 /usr/local/bin/gfortran

- name: Configure
run: |
autoreconf -i
./configure --enable-download --without-mpi --prefix="$WORKSPACE/install"
./configure --enable-download --without-mpi --prefix="${HOME}/freefem"
./3rdparty/getall -a -o ARPACK,METIS,ParMETIS,ScaLAPACK,Scotch,SuiteSparse,SuperLU,mmg,parmmg,hpddm,bemtool,Boost,libpthread-google,TetGen,Ipopt,NLopt,freeYams,FFTW,Gmm++,MMG3D,mshmet,MUMPS,htool
- name: Build
run: make -j2

- name: Check
run: make check | true
run: make check || true

- name: Install
run: make install
Expand Down

0 comments on commit a8fb6fb

Please sign in to comment.