diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 8a68787..fd07cfb 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -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 \ No newline at end of file + run: make -f make/makefile + + - name: Upload compiled binaries + uses: actions/upload-artifact@v3 + with: + name: compiled-binaries + path: | + **/bin/** + **/build/** \ No newline at end of file diff --git a/README.md b/README.md index 5a4af9e..4df6a02 100644 --- a/README.md +++ b/README.md @@ -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