From 086c9a1a9e5b091c4bf1f39a149c865e826f8c71 Mon Sep 17 00:00:00 2001 From: Sun Serega Date: Sun, 18 Aug 2024 17:10:41 +0200 Subject: [PATCH] +50 --- .github/workflows/upstream pretest.yaml | 27 +++++++++---------------- 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/.github/workflows/upstream pretest.yaml b/.github/workflows/upstream pretest.yaml index 54fa2722..08e8c79e 100644 --- a/.github/workflows/upstream pretest.yaml +++ b/.github/workflows/upstream pretest.yaml @@ -10,17 +10,6 @@ permissions: contents: write jobs: - temp: - runs-on: windows-latest - strategy: - matrix: [ {cpp: g++, c: gcc}, {cpp: g++-8, c: gcc-8}, {cpp: clang++, c: clang} ] - steps: - - name: aaaaa - run: | - - Write-Host "cpp: ${{ matrix.cpp }}" - Write-Host "c: ${{ matrix.c }}" - enmr-PRs: runs-on: windows-latest outputs: @@ -131,7 +120,8 @@ jobs: needs: enmr-PRs strategy: fail-fast: false - matrix: ${{ fromJson(needs.enmr-PRs.outputs.exec_list) }} + matrix: + exec_data: ${{ fromJson(needs.enmr-PRs.outputs.exec_list) }} steps: - name: git config @@ -156,8 +146,8 @@ jobs: - name: pretest run: | - $subm_url = "${{ matrix.subm_url }}" - $pr_num = "${{ matrix.pr_num }}" + $subm_url = "${{ matrix.exec_data.subm_url }}" + $pr_num = "${{ matrix.exec_data.pr_num }}" Write-Host "Testing PR $pr_num from: $subm_url" @@ -168,15 +158,16 @@ jobs: needs: enmr-PRs strategy: fail-fast: false - matrix: ${{ fromJson(needs.enmr-PRs.outputs.remove_list) }} + matrix: + remove-data: ${{ fromJson(needs.enmr-PRs.outputs.remove_list) }} steps: - name: write matrix info run: | - Write-Host "repo: ${{ matrix.repo }}" - Write-Host "subm_pretest_pr_nums: ${{ matrix.subm_pretest_pr_nums }}" - Write-Host "core_pretest_pr_nums: ${{ matrix.core_pretest_pr_nums }}" + Write-Host "repo: ${{ matrix.remove-data.repo }}" + Write-Host "subm_pretest_pr_nums: ${{ matrix.remove-data.subm_pretest_pr_nums }}" + Write-Host "core_pretest_pr_nums: ${{ matrix.remove-data.core_pretest_pr_nums }}" - name: checkout fork uses: actions/checkout@main