1
0

chore: update github action for my personal build.

- remove all unnecessary workflow. only keep cmake job in Windows workflow.
This commit is contained in:
2024-07-28 09:42:17 +08:00
parent 184209ece5
commit df5debb962
4 changed files with 37 additions and 33 deletions

38
.github/workflows/macos.yml.disabled vendored Normal file
View File

@@ -0,0 +1,38 @@
name: macOS CI
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
version: '6.9.0'
modules: 'qtimageformats'
- name: Install Conan and Dependencies
id: conan
working-directory: ./
shell: bash
run: |
pip3 install wheel setuptools
pip3 install conan --upgrade
conan --version
conan profile detect
conan install --requires=exiv2/0.28.3 --generator CMakeDeps --generator CMakeToolchain --build=missing
- name: Build
run: |
cmake . -DTRANSLATION_RESOURCE_EMBEDDING=ON --preset conan-release
cmake --build --preset conan-release
- name: Deploy
run: |
macdeployqt ./ppic.app -dmg
ls
- uses: actions/upload-artifact@v4
with:
name: "macos-bundle"
path: "*.dmg"