Skip to content

Commit

Permalink
c-cpp binary upload after compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Sep 10, 2024
1 parent 882c3de commit 9ba8228
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,16 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'

- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y build-essential

- name: Build with Makefile
run: make -f make/makefile
run: make -f make/makefile

- name: Upload compiled binaries
uses: actions/upload-artifact@v3
with:
name: compiled-binaries
path: |
**/bin/**
**/build/**
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@ To generate the documentation in PDF, run the make command in `doxy/latex`.
cd /doxygen/latex && make
```

## Compiled binaries

You can download the latest compiled files from the [GitHub Actions](https://github.com/your-username/MPM-Geomechanics/actions) section in GitHub. Just follow these steps:

1. Go to the [Actions page](https://github.com/your-username/MPM-Geomechanics/actions).
2. Select the latest run of the **MSBuild** workflow for Window, or **CI** for Linux.
3. At the bottom, you will find the available artifacts under the **Artifacts** section.
4. Download the `compiled-binaries` artifact to get the installers.

## Examples

### Slope failure
Expand Down

0 comments on commit 9ba8228

Please sign in to comment.