Skip to content

v2406: Starting class-based dev for solvers/libraries + new dispersion model #29

v2406: Starting class-based dev for solvers/libraries + new dispersion model

v2406: Starting class-based dev for solvers/libraries + new dispersion model #29

Workflow file for this run

name: Windows release
on:
release:
types: [published]
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
openfoam_version: [ v2206]
container: 'ghcr.io/phorgue/porousmultiphasefoam:openfoam-${{matrix.openfoam_version}}-opensuse-mingw'
steps:
- uses: nelonoel/[email protected]
- name: Checkout
run: |
git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git -b ${BRANCH_NAME} .
- name: Build
run: |
FOAM_VERBOSE=true && source /openfoam/etc/bashrc /openfoam/etc-mingw/prefs.sh && ls && ./Allwmake -j
zypper install -y zip
cd /github/home/OpenFOAM/user-${{matrix.openfoam_version}}/platforms/linux64MingwDPInt32Opt/
zip -r pmf-opensuse-mingw-${{matrix.openfoam_version}}.zip .
- name: Installer archive upload push
uses: actions/upload-artifact@v3
with:
name: pmf-opensuse-mingw-${{matrix.openfoam_version}}
path: /github/home/OpenFOAM/user-${{matrix.openfoam_version}}/platforms/linux64MingwDPInt32Opt/pmf-opensuse-mingw-${{matrix.openfoam_version}}.zip
publish:
name: Publish
needs: build
runs-on: ubuntu-latest
steps:
- name: Download all artifacts
uses: actions/download-artifact@v3
- name: Publish assets
uses: alexellis/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}
with:
asset_paths: '["*/*.zip"]'