From a925b96adc7b42246ad063ec99b6216abd24d2d1 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Tue, 10 Jan 2023 16:41:38 +0200 Subject: [PATCH] ci: reduce number of jobs build using make and test xcode project generation in the same job --- .github/workflows/build.yml | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 67df3421..a914ba05 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,7 +6,7 @@ on: [push, pull_request] jobs: build: if: "!contains(github.event.head_commit.message, '[skip build]')" - name: ${{ matrix.target }} / ${{ matrix.flavor.name }} + name: ${{ matrix.target }} runs-on: macos-12 strategy: fail-fast: false @@ -16,23 +16,17 @@ jobs: Raze, PrBoom-Plus ] - flavor: [ - { - name: Make, - args: '' - }, - { - name: Xcode, - args: '--xcode' - } - ] steps: - uses: actions/checkout@v3 - - name: Build + - name: Build target run: | - ./build.py --target ${{ matrix.target }} ${{ matrix.flavor.args }} + ./build.py --target ${{ matrix.target }} + + - name: Generate Xcode project + run: | + ./build.py --target ${{ matrix.target }} - name: List Build Directory if: always()