Skip to content

Commit

Permalink
Update build_mmvii.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
meynardc authored Dec 18, 2023
1 parent ed6aa93 commit d391855
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build_mmvii.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

jobs:
build_linux:
if: false
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -95,3 +96,28 @@ jobs:
- name: Run MMVII Tests
working-directory: ./MMVII/bin
run: ./MMVII Bench 1

- name: Package
shell: bash
run: |
env
mkdir -p bin/platforms bin/imageformats
DEST=$(pwd)/bin
cd $Qt5_Dir/bin
cp Qt5Core.dll Qt5Gui.dll Qt5Xml.dll Qt5OpenGL.dll Qt5Widgets.dll $DEST/
cd $Qt5_Dir/plugins
cp platforms/qwindows.dll $DEST/platforms/
cp imageformats/*.dll $DEST/imageformats/
cd $GITHUB_WORKSPACE
ls -lrt bin
- name: Create Zip
run: 7z a mmvii_windows.zip bin\ binaire-aux\ include\XML_MicMac\ include\XML_GEN\ include\qt MMVII\MMVII-LocalParameters\ MMVII\MMVII-RessourceDir\ MMVII\bin\MMVII.exe MMVII\bin\vMMVII.exe

- name: Upload binaries to release
uses: softprops/action-gh-release@v1
with:
draft: true
name: cm-test
token: ${{ secrets.GITHUB_TOKEN }}
files: mmvii_windows.zip

0 comments on commit d391855

Please sign in to comment.