Skip to content

Commit

Permalink
Fix GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Wissididom committed Sep 15, 2024
1 parent d1625e5 commit 760955d
Showing 1 changed file with 13 additions and 22 deletions.
35 changes: 13 additions & 22 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@v4
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/msvc-dev-cmd@v1
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@v4
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 All @@ -90,7 +81,7 @@ jobs:
cat coverage/Irc*.cov > coverage/lcov.info
- name: Upload Coverage
uses: codecov/codecov-action@v1.0.6
uses: codecov/codecov-action@v4.5.0
with:
token: ${{secrets.CODECOV_TOKEN}}
file: coverage/lcov.info

0 comments on commit 760955d

Please sign in to comment.