Skip to content

Commit

Permalink
Work on CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
emericg committed Sep 21, 2023
1 parent 1c738ef commit 6438d8a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/builds_minianalyser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:
run: |
cd mini_analyser/
make install
zip -r -X ../../${{env.APP_NAME}}-${{env.APP_VERSION}}-macOS.zip bin/${{env.APP_NAME}}.app
zip -r -X ../${{env.APP_NAME}}-${{env.APP_VERSION}}-macOS.zip bin/${{env.APP_NAME}}.app
# Upload app zip
- name: Upload app zip
Expand Down Expand Up @@ -174,14 +174,12 @@ jobs:
cmake --version
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=ON -DCMAKE_INSTALL_PREFIX=/usr ..
cmake --build . --config Release
mv Release/minivideo.lib minivideo.lib
mv Release/minivideo.dll minivideo.dll
# Build application
- name: Build application
run: |
cp minivideo/build/Release/minivideo.lib mini_analyser/build/minivideo.lib
cp minivideo/build/Release/minivideo.dll mini_analyser/build/minivideo.dll
cp minivideo/build/Release/minivideo.lib mini_analyser/bin/minivideo.lib
cp minivideo/build/Release/minivideo.dll mini_analyser/bin/minivideo.dll
cd mini_analyser/
qmake --version
qmake ${{env.APP_NAME}}.pro CONFIG+=release
Expand All @@ -190,6 +188,8 @@ jobs:
# Package application
- name: Package application
run: |
cp minivideo/build/minivideo.lib mini_analyser/bin/minivideo.lib
cp minivideo/build/minivideo.dll mini_analyser/bin/minivideo.dll
windeployqt mini_analyser/bin/
mv mini_analyser/bin mini_analyser/${{env.APP_NAME}}-${{env.APP_VERSION}}-win64
7z a ../${{env.APP_NAME}}-${{env.APP_VERSION}}-win64.zip ${{env.APP_NAME}}-${{env.APP_VERSION}}-win64
Expand Down
2 changes: 1 addition & 1 deletion minivideo/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
MiniVideo library
=================

[![GitHub action](https://img.shields.io/github/workflow/status/emericg/MiniVideo/MiniVideo%20CI%20builds.svg?style=flat-square)](https://github.com/emericg/MiniVideo/actions)
[![GitHub action](https://img.shields.io/github/actions/workflow/status/emericg/MiniVideo/builds_minivideo.yml?style=flat-square)](https://github.com/emericg/MiniVideo/actions/workflows/builds_minivideo.yml)
[![License: LGPL v3](https://img.shields.io/badge/license-LGPL%20v3-brightgreen.svg?style=flat-square)](http://www.gnu.org/licenses/lgpl-3.0)

Introduction
Expand Down

0 comments on commit 6438d8a

Please sign in to comment.