From 085e67d3cd878a7a46a8fbdd7e55efd5bc9bc27c Mon Sep 17 00:00:00 2001 From: nonlin-lin-chaos-order-etc-etal <19966907+nonlin-lin-chaos-order-etc-etal@users.noreply.github.com> Date: Thu, 9 Dec 2021 01:41:33 +0800 Subject: [PATCH] +ubuntu2004 +nproc --- .github/workflows/build.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a211c5f..b86ea6d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,7 +5,11 @@ on: [push, pull_request] jobs: build_qt: name: With QT GUI - runs-on: ubuntu-18.04 + runs-on: ${{ matrix.os }} + strategy: + matrix: +# os: [ubuntu-latest, windows-latest, macOS-latest] + os: [ubuntu-18.04, ubuntu-20.04] steps: - uses: actions/checkout@v2 with: @@ -18,4 +22,4 @@ jobs: - name: build application run: | qmake - make -j3 \ No newline at end of file + make -j$(nproc)