diff options
author | Saturneric <[email protected]> | 2021-12-05 19:08:35 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-12-06 05:54:21 +0000 |
commit | 0bd8461dad6a8b32a98a5333427ad40ff355e2f3 (patch) | |
tree | a37d3bd2ed09619b4dd86169e2c09cd67a1ea6a1 | |
parent | Add Submodules & Update & Fixed (diff) | |
download | GpgFrontend-0bd8461dad6a8b32a98a5333427ad40ff355e2f3.tar.gz GpgFrontend-0bd8461dad6a8b32a98a5333427ad40ff355e2f3.zip |
Improve CI
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/debug.yml | 6 | ||||
-rw-r--r-- | .github/workflows/release-ci.yml | 18 | ||||
-rw-r--r-- | .github/workflows/release.yml | 22 |
3 files changed, 20 insertions, 26 deletions
diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml index 5c541fbd..5f64b7bc 100644 --- a/.github/workflows/debug.yml +++ b/.github/workflows/debug.yml @@ -30,6 +30,8 @@ jobs: steps: - uses: actions/checkout@v2 + with: + submodules: recursive - name: Install Dependence (Linux) run: | @@ -111,14 +113,14 @@ jobs: cd ${{github.workspace}} if: matrix.os == 'ubuntu-latest' - - name: Build GpgME (Linux) + - name: Build GpgME (Linux & macOS) 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}} - if: matrix.os == 'ubuntu-latest' + if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' - name: Build GpgME (Windows) shell: msys2 {0} diff --git a/.github/workflows/release-ci.yml b/.github/workflows/release-ci.yml index 4abf5c0d..fed8631a 100644 --- a/.github/workflows/release-ci.yml +++ b/.github/workflows/release-ci.yml @@ -30,6 +30,8 @@ jobs: steps: - uses: actions/checkout@v2 + with: + submodules: recursive - name: Install Dependence (Linux) run: | @@ -93,9 +95,7 @@ jobs: - name: Build gpg-error (Linux) run: | - cd ${{github.workspace}}/.. - git clone https://github.com/saturneric/libgpg-error - cd libgpg-error + cd ${{github.workspace}}/third_party/libgpg-error ./autogen.sh ./configure --enable-maintainer-mode --enable-static=yes && make -j2 sudo make install @@ -104,25 +104,21 @@ jobs: - name: Build assuan (Linux) run: | - cd ${{github.workspace}}/.. - git clone https://github.com/saturneric/libassuan - cd libassuan + cd ${{github.workspace}}/third_party/libassuan ./autogen.sh ./configure --enable-maintainer-mode --enable-static=yes && make -j2 sudo make install cd ${{github.workspace}} if: matrix.os == 'ubuntu-18.04' - - name: Build GpgME (Linux) + - name: Build GpgME (Linux & macOS) run: | - cd ${{github.workspace}}/.. - git clone https://github.com/saturneric/gpgme - cd gpgme + 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}} - if: matrix.os == 'ubuntu-18.04' + if: matrix.os == 'ubuntu-18.04' || matrix.os == 'macos-latest' - name: Build GpgME (Windows) shell: msys2 {0} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 496e5e79..16f20fdd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,6 +30,8 @@ jobs: steps: - uses: actions/checkout@v2 + with: + submodules: recursive - name: Install Dependence (Linux) run: | @@ -97,36 +99,30 @@ jobs: - name: Build gpg-error (Linux) run: | - cd ${{github.workspace}}/.. - git clone https://github.com/saturneric/libgpg-error - cd libgpg-error + cd ${{github.workspace}}/third_party/libgpg-error ./autogen.sh ./configure --enable-maintainer-mode --enable-static=yes && make -j2 sudo make install cd ${{github.workspace}} - if: matrix.os == 'ubuntu-18.04' + if: matrix.os == 'ubuntu-latest' - name: Build assuan (Linux) run: | - cd ${{github.workspace}}/.. - git clone https://github.com/saturneric/libassuan - cd libassuan + cd ${{github.workspace}}/third_party/libassuan ./autogen.sh ./configure --enable-maintainer-mode --enable-static=yes && make -j2 sudo make install cd ${{github.workspace}} - if: matrix.os == 'ubuntu-18.04' + if: matrix.os == 'ubuntu-latest' - - name: Build GpgME (Linux) + - name: Build GpgME (Linux & macOS) run: | - cd ${{github.workspace}}/.. - git clone https://github.com/saturneric/gpgme - cd gpgme + 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}} - if: matrix.os == 'ubuntu-18.04' + if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' - name: Build GpgME (Windows) shell: msys2 {0} |