Skip to content

Commit

Permalink
added workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aziis98 committed Mar 3, 2024
1 parent 0fe553c commit 9d8975c
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/make.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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

0 comments on commit 9d8975c

Please sign in to comment.