You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
503 B
YAML

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 mpi openmpi-bin libopenmpi-dev
- name: Build Project
run: |
make
- name: Archive Artifact
uses: actions/upload-artifact@v2
with:
name: main-binary
path: bin/main