Skip to content

updated workflow

updated workflow #8

Workflow file for this run

name: Build and Generate Artifact
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Install PETSc, MPI, and OpenMPI
run: |
sudo apt-get install -y \
petsc-dev \
libpetsc-real-dev \
mpi-default-bin \
mpi-default-dev \
openmpi-bin \
openmpi-common \
libopenmpi-dev
- name: Build
run: |
git submodule init
git submodule update
cd deps/petsc && ./configure
cd deps/petsc && make
make
- name: Archive Artifact
uses: actions/upload-artifact@v2
with:
name: main-binary
path: bin/main