|
70 | 70 | tests/scripts/parrallelUT.sh |
71 | 71 | tests/scripts/ |
72 | 72 |
|
73 | | - linux-unit-tests: |
| 73 | + linux-unit-tests-release: |
74 | 74 | needs: linux-build |
75 | 75 | runs-on: ['self-hosted', 'linux', 'x64', 'valgrind'] |
76 | 76 | timeout-minutes: 120 |
|
98 | 98 | sudo chmod +x ${{ github.workspace }}/Bin/Release/* |
99 | 99 | ${{ github.workspace }}/tests/scripts/parrallelUT.sh ./SvtJpegxsUnitTests ${{ env.JOBS_NUM }} |
100 | 100 |
|
| 101 | + linux-unit-tests-debug: |
| 102 | + needs: linux-build |
| 103 | + runs-on: ['self-hosted', 'linux', 'x64', 'valgrind'] |
| 104 | + timeout-minutes: 120 |
| 105 | + steps: |
| 106 | + - name: 'Harden Runner' |
| 107 | + uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1 |
| 108 | + with: |
| 109 | + egress-policy: audit |
| 110 | + |
| 111 | + - name: 'Setup: Install dependencies' |
| 112 | + run: | |
| 113 | + sudo apt-get update |
| 114 | + sudo apt-get -y install nasm |
| 115 | + - name: download build artifacts |
| 116 | + uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 |
| 117 | + with: |
| 118 | + name: "${{ env.LINUX_ARTIFACTS }}" |
| 119 | + |
| 120 | + - name: 'Unit tests: Debug' |
| 121 | + run: | |
| 122 | + echo "Number of processors: ${NPROC}" |
| 123 | + cd Bin/Debug/ |
| 124 | + ls -l |
| 125 | + sudo chmod +x ${{ github.workspace }}/tests/scripts/parrallelUT.sh |
| 126 | + sudo chmod +x ${{ github.workspace }}/Bin/Debug/* |
| 127 | + ${{ github.workspace }}/tests/scripts/parrallelUT.sh ./SvtJpegxsUnitTests ${{ env.JOBS_NUM }} |
| 128 | +
|
101 | 129 | linux-unit-tests-valgrind: |
102 | | - needs: linux-unit-tests |
| 130 | + needs: linux-build |
103 | 131 | runs-on: ['self-hosted', 'linux', 'x64', 'valgrind'] |
104 | 132 | timeout-minutes: 120 |
105 | 133 | steps: |
@@ -134,7 +162,7 @@ jobs: |
134 | 162 | ${{ github.workspace }}/tests/scripts/parrallelUT.sh ./SvtJpegxsUnitTests ${{ env.JOBS_NUM }} valgrind |
135 | 163 |
|
136 | 164 | linux-conformance-tests: |
137 | | - needs: linux-unit-tests-valgrind |
| 165 | + needs: linux-build |
138 | 166 | runs-on: ['self-hosted', 'linux', 'x64', 'valgrind'] |
139 | 167 | timeout-minutes: 120 |
140 | 168 | steps: |
@@ -162,7 +190,7 @@ jobs: |
162 | 190 | ./ParallelAllTests.sh ${{ env.JOBS_NUM }} ${INPUT_FILES_PATH} ${DEC_BIN_DIR}/SvtJpegxsDecApp |
163 | 191 | env: |
164 | 192 | DEC_BIN_DIR: ${{ github.workspace }}/Bin/Release |
165 | | - INPUT_FILES_PATH: /opt/samples/Samples/ConformanceTestDecoder/ |
| 193 | + INPUT_FILES_PATH: /opt/samples |
166 | 194 |
|
167 | 195 | windows-build: |
168 | 196 | needs: changes |
|
0 commit comments