Skip to content

Commit

Permalink
workflows/build.yml: improve build action
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Ricchi <[email protected]>
  • Loading branch information
AndreaRicchi committed Feb 5, 2025
1 parent 9bce458 commit 2eea676
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
name: Build

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
pull_request: {}
push: { branches: [main] }

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Installing Qt
uses: jurplel/[email protected]
with:
version: '5.15.2'
- name: Run QMake
run: qmake
- name: Build
run: make -j4
- uses: actions/checkout@v4

- name: Installing Qt
uses: jurplel/install-qt-action@v4
with:
version: "5.15.2"

- name: Configure Project with QMake
run: qmake

- name: Build
run: make -j$(nproc)

0 comments on commit 2eea676

Please sign in to comment.