aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.github/workflows/debug.yml4
-rw-r--r--.github/workflows/release.yml20
2 files changed, 11 insertions, 13 deletions
diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml
index ae49e86c..4432237c 100644
--- a/.github/workflows/debug.yml
+++ b/.github/workflows/debug.yml
@@ -39,7 +39,7 @@ jobs:
- name: Install Dependence (macOS)
run: |
- brew install cmake git autoconf automake qt@5
+ brew install cmake git autoconf automake qt@5 gcc texinfo gettext libgpg-error libassuan gpgme
if: matrix.os == 'macos-latest'
@@ -81,7 +81,7 @@ jobs:
./configure && make -j2
sudo make install
cd ${{github.workspace}}
- if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
+ if: matrix.os == 'ubuntu-latest'
- name: Build GpgME (Windows)
shell: msys2 {0}
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 0f66759c..15baec54 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -72,7 +72,7 @@ jobs:
pacman --noconfirm -S --needed make texinfo
if: matrix.os == 'windows-latest'
- - name: Build gpg-error
+ - name: Build gpg-error (Linux)
run: |
cd ${{github.workspace}}/..
git clone https://github.com/saturneric/libgpg-error
@@ -83,7 +83,7 @@ jobs:
cd ${{github.workspace}}
if: matrix.os == 'ubuntu-latest'
- - name: Build assuan
+ - name: Build assuan (Linux)
run: |
cd ${{github.workspace}}/..
git clone https://github.com/saturneric/libassuan
@@ -94,7 +94,7 @@ jobs:
cd ${{github.workspace}}
if: matrix.os == 'ubuntu-latest'
- - name: Build GpgME
+ - name: Build GpgME (Linux)
run: |
cd ${{github.workspace}}/..
git clone https://github.com/saturneric/gpgme
@@ -124,17 +124,15 @@ jobs:
- name: Build GpgFrontend
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config $env.BUILD_TYPE}} -- -j 2
- if: matrix.os == 'ubuntu-latest'
+ if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
- - name: Build GpgFrontend (macOS App Bundle)
- # Build your program with the given configuration
+ - name: Package App Bundle (macOS)
run: |
- cmake --build ${{github.workspace}}/build --config $env.BUILD_TYPE}} -- -j 3
macdeployqt ${{github.workspace}}/build/release/GpgFrontend.app
- mkdir {{github.workspace}}/build/tmp
- hdiutil create {{github.workspace}}/build/tmp/tmp.dmg -ov -volname "GpgFrontend" -fs HFS+ -srcfolder {{github.workspace}}/build/release/
- mkdir {{github.workspace}}/build/artifactOut
- hdiutil convert {{github.workspace}}/build/tmp/tmp.dmg -format UDZO -o {{github.workspace}}/build/artifactOut/GpgFrontend.dmg
+ mkdir ${{github.workspace}}/build/tmp/
+ hdiutil create ${{github.workspace}}/build/tmp/tmp.dmg -ov -volname "GpgFrontend" -fs HFS+ -srcfolder ${{github.workspace}}/build/release/
+ mkdir ${{github.workspace}}/build/artifactOut
+ hdiutil convert ${{github.workspace}}/build/tmp/tmp.dmg -format UDZO -o ${{github.workspace}}/build/artifactOut/GpgFrontend.dmg
if: matrix.os == 'macos-latest'
- name: Configure CMake & Build Binary(Windows)