diff options
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/cmake.yml | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index f3f2ec8b..77c0d643 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -43,21 +43,32 @@ jobs: brew install cmake git autoconf automake qt@5 if: matrix.os == 'macos-latest' + + - name: Cache Qt + id: cache-qt + uses: actions/cache@v1 + with: + path: ../Qt + key: ${{ runner.os }}-QtCache + if: matrix.os == 'ubuntu-latest' + - name: Install Qt uses: jurplel/install-qt-action@v2 + with: + cached: ${{ steps.cache-qt.outputs.cache-hit }} if: matrix.os == 'ubuntu-latest' - name: Set up MinGW (Windows) uses: msys2/setup-msys2@v2 with: install: git msys2-devel base-devel binutils pactoys-git mercurial cvs wget p7zip perl ruby mingw-w64-x86_64-toolchain - update: true + release: false if: matrix.os == 'windows-latest' - name: Set up Dependence (Windows) shell: msys2 {0} run: | - pacman --noconfirm -Syu mingw-w64-x86_64-gcc mingw-w64-x86_64-make mingw-w64-x86_64-cmake autoconf automake mingw-w64-x86_64-qt-creator mingw-w64-x86_64-gpgme + pacman --noconfirm -S --needed mingw-w64-x86_64-gcc mingw-w64-x86_64-make mingw-w64-x86_64-cmake autoconf automake mingw-w64-x86_64-qt-creator mingw-w64-x86_64-gpgme if: matrix.os == 'windows-latest' - name: Build GpgME |