Skip to content

Commit

Permalink
Update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
zjwegert committed May 15, 2024
1 parent 25cff26 commit 43911c3
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 21 deletions.
39 changes: 20 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- run: julia --project=. -e 'using Pkg; Pkg.add(name="GridapSolvers", rev="develop");'
- uses: actions/cache@v1
env:
cache-name: cache-artifacts
Expand All @@ -32,24 +33,24 @@ jobs:
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v1
- uses: codecov/codecov-action@v4
with:
file: ./lcov.info
file: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}

# docs:
# name: Documentation
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: julia-actions/setup-julia@v1
# with:
# version: '1.9'
# - run: |
# julia --project=docs -e '
# using Pkg
# Pkg.develop(PackageSpec(path=pwd()))
# Pkg.instantiate()'
# - run: julia --project=docs docs/make.jl
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: '1.9'
- run: |
julia --project=docs -e '
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()'
- run: julia --project=docs docs/make.jl
env:
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
5 changes: 3 additions & 2 deletions .github/workflows/ci_mpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
arch: ${{ matrix.arch }}
- name: Install p4est/petsc dependencies
run: |
sudo apt-get update
sudo apt-get install -y wget gfortran g++ openmpi-bin libopenmpi-dev
sudo apt-get update
sudo apt-get install -y wget gfortran g++ openmpi-bin libopenmpi-dev
- name: Install petsc
run: |
CURR_DIR=$(pwd)
Expand All @@ -61,6 +61,7 @@ jobs:
- uses: julia-actions/julia-buildpkg@latest
- run: echo $PWD
- run: julia --project=. -e 'using Pkg; Pkg.instantiate();'
- run: julia --project=. -e 'using Pkg; Pkg.add(name="GridapSolvers", rev="develop");'
- run: julia --project=. -e 'using Pkg; Pkg.add("MPIPreferences")'
- run: julia --project=. -e 'using MPIPreferences; MPIPreferences.use_system_binary()'
- run: julia --project=. -e 'using Pkg; Pkg.build(); Pkg.precompile()'
Expand Down

0 comments on commit 43911c3

Please sign in to comment.