From 68c66f5f01a6e7efd5ed19f87d3ace6172c31a08 Mon Sep 17 00:00:00 2001 From: Joel Martin Date: Fri, 23 Apr 2021 14:25:28 -0500 Subject: [PATCH] github: separate steps for build,test,regress,perf --- .github/workflows/main.yml | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e6533a2a..3d79b5c5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -38,12 +38,21 @@ jobs: matrix: ${{ fromJson(needs.get-matrix.outputs.matrix-linux) }} steps: - uses: actions/checkout@v2 - - name: IMPL testing + - name: Build run: | export ${{ matrix.IMPL }} ./ci.sh build ${IMPL} + - name: Tests + run: | + export ${{ matrix.IMPL }} ./ci.sh test ${IMPL} + - name: Regression Tests + run: | + export ${{ matrix.IMPL }} STEP=stepA REGRESS=1 HARD=1 OPTIONAL=0 ./ci.sh test ${IMPL} + - name: Performance Tests + run: | + export ${{ matrix.IMPL }} ./ci.sh perf ${IMPL} macos: @@ -55,10 +64,19 @@ jobs: matrix: ${{ fromJson(needs.get-matrix.outputs.matrix-macos) }} steps: - uses: actions/checkout@v2 - - name: IMPL testing + - name: Build run: | export ${{ matrix.IMPL }} ./ci.sh build ${IMPL} + - name: Tests + run: | + export ${{ matrix.IMPL }} ./ci.sh test ${IMPL} + - name: Regression Tests + run: | + export ${{ matrix.IMPL }} STEP=stepA REGRESS=1 HARD=1 OPTIONAL=0 ./ci.sh test ${IMPL} + - name: Performance Tests + run: | + export ${{ matrix.IMPL }} ./ci.sh perf ${IMPL}