<chore>(project, ui, core): update ci for release-deb-package.yml

1. Enable the latest one-off build.
2. Fix submodule dependency problem.
This commit is contained in:
Saturneric 2022-01-13 04:23:56 +08:00
parent 1c3a29f611
commit 19586c3cda
6 changed files with 7 additions and 37 deletions

View File

@ -29,7 +29,9 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
submodules: recursive submodules: 'recursive'
- run: git submodule update --init --recursive
- name: Get Short SHA of Commit - name: Get Short SHA of Commit
id: vars id: vars
@ -43,40 +45,6 @@ jobs:
sudo apt-get -y install gpg sudo apt-get -y install gpg
if: matrix.os == 'ubuntu-20.04' if: matrix.os == 'ubuntu-20.04'
- name: Build gpg-error
run: |
cd ${{github.workspace}}/third_party/libgpg-error
./autogen.sh
./configure --enable-maintainer-mode --enable-static=yes && make -j2
sudo make install
cd ${{github.workspace}}
- name: Build assuan
run: |
cd ${{github.workspace}}/third_party/libassuan
./autogen.sh
./configure --enable-maintainer-mode --enable-static=yes && make -j2
sudo make install
cd ${{github.workspace}}
- name: Build GpgME
run: |
cd ${{github.workspace}}/third_party/gpgme
./autogen.sh
./configure --enable-maintainer-mode --enable-static=yes --enable-languages=cpp && make -j2
sudo make install
cd ${{github.workspace}}
- name: Build vmime
run: |
cd ${{github.workspace}}/third_party/vmime
mkdir build
cd build
cmake -G Ninja -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DVMIME_HAVE_MESSAGING_PROTO_SENDMAIL=OFF -DVMIME_CHARSETCONV_LIB=iconv -DVMIME_TLS_SUPPORT_LIB=openssl -DVMIME_HAVE_SASL_SUPPORT=OFF ..
ninja -v
sudo ninja install
cd ${{github.workspace}}
- name: Build & Package GpgFrontend (Linux DEB Package) - name: Build & Package GpgFrontend (Linux DEB Package)
# Build your program with the given configuration # Build your program with the given configuration
run: | run: |

2
.gitignore vendored
View File

@ -2,8 +2,6 @@
src/GpgFrontend.h src/GpgFrontend.h
src/GpgFrontendBuildInfo.h src/GpgFrontendBuildInfo.h
src/GpgFrontendBuildInstallInfo.h src/GpgFrontendBuildInstallInfo.h
third_party/**
!third_party/CMakeLists.txt
# gettext # gettext
*.mo *.mo

1
third_party/easyloggingpp vendored Submodule

@ -0,0 +1 @@
Subproject commit 8489989bb26c6371df103f6cbced3fbee1bc3c2f

1
third_party/json vendored Submodule

@ -0,0 +1 @@
Subproject commit c6740d7d58a209da8960c961ee07bfb0e841e44e

1
third_party/qt-aes vendored Submodule

@ -0,0 +1 @@
Subproject commit 845e3b4d3d3873843ca26dc365232aa1aa8ea2a8

1
third_party/smtp-mime vendored Submodule

@ -0,0 +1 @@
Subproject commit 3fa4a0fe5797070339422cf18b5e9ed8dcb91f9c