Skip to content

Commit

Permalink
Fix GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Wissididom committed Oct 23, 2023
1 parent d1625e5 commit eb8670f
Showing 1 changed file with 12 additions and 21 deletions.
33 changes: 12 additions & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,18 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
- name: Cache Qt
id: cache-qt
uses: actions/cache@v1
with:
path: ../Qt
key: ${{runner.os}}-QtCache

- name: Install Qt
uses: jurplel/install-qt-action@v2
uses: jurplel/install-qt-action@v3
with:
cached: ${{steps.cache-qt.outputs.cache-hit}}
cache: true
cache-key-prefix: install-qt-action-${{runner.os}}

- name: Git Checkout
uses: actions/checkout@v1
uses: actions/checkout@v4

- name: Enable Developer Command Prompt
uses: ilammy/[email protected]
if: matrix.os == 'windows-latest'

- name: Build
run: |
Expand All @@ -41,7 +39,6 @@ jobs:

- name: Build
run: |
call "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
qmake -v
qmake -config verbose -config ${{matrix.config}}
set CL=/MP
Expand All @@ -58,23 +55,17 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Cache Qt
id: cache-qt
uses: actions/cache@v1
with:
path: ../Qt
key: ${{runner.os}}-QtCache

- name: Install Qt
uses: jurplel/install-qt-action@v2
uses: jurplel/install-qt-action@v3
with:
cached: ${{steps.cache-qt.outputs.cache-hit}}
cache: true
cache-key-prefix: install-qt-action-${{runner.os}}

- name: Install LCOV
run: sudo apt install lcov

- name: Git Checkout
uses: actions/checkout@v1
uses: actions/checkout@v4

- name: Configure
run: |
Expand Down

0 comments on commit eb8670f

Please sign in to comment.