Skip to content

Commit

Permalink
Update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rs028 committed Aug 14, 2024
1 parent 688fbdc commit 564856f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04, macos-11, macos-12]
fortran: [9, 10, 11]
exclude: # TODO: gfortran-9 does not work on macos-12
- os: macos-12
fortran: 9
os: [ubuntu-20.04, ubuntu-22.04] #, macos-12, macos-13]
fortran: [10, 11, 12]
# exclude: # TODO: gfortran-9 does not work on macos-12
# - os: macos-12
# fortran: 9
fail-fast: false

# -------------------------------------------------------------
Expand All @@ -64,7 +64,7 @@ jobs:
# -------------------------------------------------------------
# (1) Checkout the repository under $GITHUB_WORKSPACE
- name: Checkout repo
uses: actions/checkout@v4
uses: actions/checkout@v4 # https://github.com/marketplace/actions/checkout
with:
fetch-depth: 2

Expand All @@ -73,9 +73,13 @@ jobs:
# and the AtChem2 dependencies: CVODE, openlibm, numdiff, FRUIT

# gfortran on ubuntu
- name: Install gfortran-11 (ubuntu-20.04)
if: matrix.os == 'ubuntu-20.04' && matrix.fortran == 11
run: sudo apt-get install gfortran-11
# - name: Install gfortran-11 (ubuntu-20.04)
# if: matrix.os == 'ubuntu-20.04' && matrix.fortran == 11
# run: sudo apt-get install gfortran-11

# - name: Install gfortran-12 (ubuntu-20.04)
# if: matrix.os == 'ubuntu-20.04' && matrix.fortran == 12
# run: sudo apt-get install gfortran-12

# gfortran on macos
- name: Install gfortran-9 (macos-11)
Expand Down Expand Up @@ -155,6 +159,6 @@ jobs:
- name: Upload coverage reports to Codecov
if: matrix.os == 'ubuntu-22.04' && matrix.fortran == 11
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4 # https://github.com/marketplace/actions/codecov
with:
gcov: true
6 changes: 3 additions & 3 deletions .github/workflows/tex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
# 1. Checkout the repository from the branch associated with the
# current Pull Request
- name: Checkout repo
uses: actions/checkout@v4
uses: actions/checkout@v4 # https://github.com/marketplace/actions/checkout
with:
fetch-depth: 2
ref: ${{ github.ref }}
Expand All @@ -58,7 +58,7 @@ jobs:
# 2. Setup TeXLive and Inkscape (v1.x), then run the script to
# generate the pdf file of the manual
- name: Setup TexLive and compile the manual
uses: xu-cheng/texlive-action@v2
uses: xu-cheng/texlive-action@v2 # https://github.com/marketplace/actions/github-action-with-texlive
with:
scheme: full
run: |
Expand All @@ -68,7 +68,7 @@ jobs:
./tools/make_manual_pdf.sh
- name: Upload pdf file as artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v4 # https://github.com/marketplace/actions/upload-a-build-artifact
with:
name: AtChem2-Manual.pdf
path: doc/AtChem2-Manual.pdf
Expand Down

0 comments on commit 564856f

Please sign in to comment.