Update with JSOBestieTemplate for MUMPS #94
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI-Homebrew | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
test: | |
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} | |
runs-on: ${{ matrix.os }} | |
continue-on-error: ${{ matrix.allow_failure }} | |
strategy: | |
fail-fast: false | |
matrix: | |
version: ['1.6', '1'] | |
os: [ubuntu-latest, macOS-latest] | |
arch: [x64] | |
allow_failure: [false] | |
include: | |
- version: 'nightly' | |
os: ubuntu-latest | |
arch: x64 | |
allow_failure: true | |
- version: 'nightly' | |
os: macOS-latest | |
arch: x64 | |
allow_failure: true | |
steps: | |
- name: Set up Homebrew | |
id: set-up-homebrew | |
uses: Homebrew/actions/setup-homebrew@master | |
- name: Install MUMPS from Homebrew | |
id: set-up-mumps | |
run: | | |
brew tap dpo/mumps-jl | |
brew install gcc openblas cmake | |
brew install mpich-mumps | |
echo "$(brew --prefix)/bin" >> $GITHUB_PATH | |
echo "::set-output name=prefix::$(brew --prefix)" | |
echo "JULIA_MUMPS_LIBRARY_PATH=$(brew --prefix)/opt/mpich-mumps/lib" >> $GITHUB_ENV | |
- uses: actions/checkout@v2 | |
- uses: julia-actions/setup-julia@v1 | |
with: | |
version: ${{ matrix.version }} | |
arch: ${{ matrix.arch }} | |
- uses: actions/cache@v1 | |
env: | |
cache-name: cache-artifacts | |
with: | |
path: ~/.julia/artifacts | |
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} | |
restore-keys: | | |
${{ runner.os }}-test-${{ env.cache-name }}- | |
${{ runner.os }}-test- | |
${{ runner.os }}- | |
- uses: julia-actions/julia-buildpkg@v1 | |
- uses: julia-actions/julia-runtest@v1 | |
- uses: julia-actions/julia-processcoverage@v1 | |
- uses: codecov/codecov-action@v1 | |
with: | |
file: lcov.info |