From baf303f12124efc7fcf86226f5d74837032853c8 Mon Sep 17 00:00:00 2001 From: Alfi Maulana Date: Thu, 29 Jun 2023 23:11:10 +0700 Subject: [PATCH] ci: merge jobs for testing action with specified generator and compilers --- .github/workflows/test.yml | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2c180ff..764613b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -108,7 +108,7 @@ jobs: run-test: true test-args: -R test ${{ matrix.compiler == 'msvc' && '-C Debug' || '' }} - specified-compiler-usage: + specified-generator-and-compiler-usage: runs-on: ${{ matrix.os }}-latest strategy: fail-fast: false @@ -118,7 +118,7 @@ jobs: - name: Check out this repository uses: actions/checkout@v3.5.3 - - name: Use this action with specified compilers + - name: Use this action with specified generator and compilers uses: ./ with: source-dir: test @@ -130,22 +130,3 @@ jobs: build-args: --target test_c --target test_cpp run-test: true test-args: -R test - - specified-generator-usage: - runs-on: ${{ matrix.os }}-latest - strategy: - fail-fast: false - matrix: - os: [windows, ubuntu, macos] - steps: - - name: Check out this repository - uses: actions/checkout@v3.5.3 - - - name: Use this action with a specified generator - uses: ./ - with: - source-dir: test - generator: Ninja - run-build: true - run-test: true - test-args: -R hello_world