@@ -180,18 +180,21 @@ jobs:
180
180
needs : [build-and-export-cross-compile-docker]
181
181
steps :
182
182
- uses : actions/checkout@v3
183
- - name : Load Docker
184
- uses : ./.github/actions/load_docker
185
- if : ${{ env.TEST_CROSS_DOCKER_IMAGE == 'parsec-service-test-cross-compile' }}
186
- with :
187
- image-name : " ${{ env.TEST_CROSS_DOCKER_IMAGE }}"
188
- image-path : " /tmp"
183
+ # - name: Load Docker
184
+ # uses: ./.github/actions/load_docker
185
+ # if: ${{ env.TEST_CROSS_DOCKER_IMAGE == 'parsec-service-test-cross-compile' }}
186
+ # with:
187
+ # image-name: "${{ env.TEST_CROSS_DOCKER_IMAGE }}"
188
+ # image-path: "/tmp"
189
+ # Use the following step when updating the `parsec-service-test-all` image
190
+ - name : Build the container
191
+ run : pushd e2e_tests/docker_image && docker build -t parsec-service-test-cross-compile -f parsec-service-test-cross-compile.Dockerfile . && popd
189
192
- name : Run the cross compiler tests using pre-built docker image
190
- if : ${{ env.TEST_CROSS_DOCKER_IMAGE != 'parsec-service-test-cross-compile' }}
191
- run : docker run -v $(pwd):/tmp/parsec -w /tmp/parsec ghcr.io/parallaxsecond/parsec-service-test-cross-compile /tmp/parsec/test/cross-compile.sh
192
- - name : Run the cross compiler tests using image built on the CI
193
193
if : ${{ env.TEST_CROSS_DOCKER_IMAGE == 'parsec-service-test-cross-compile' }}
194
- run : docker run -v $(pwd):/tmp/parsec -w "${{ env.TEST_CROSS_DOCKER_IMAGE }}" /tmp/parsec/test/cross-compile.sh
194
+ run : docker run -v $(pwd):/tmp/parsec -w /tmp/parsec -t parsec-service-test-cross-compile /tmp/parsec/test/cross-compile.sh
195
+ - name : Run the cross compiler tests using image built on the CI
196
+ if : ${{ env.TEST_CROSS_DOCKER_IMAGE != 'parsec-service-test-cross-compile' }}
197
+ run : docker run -v $(pwd):/tmp/parsec -w /tmp/parsec -t parsec-service-test-cross-compile /tmp/parsec/test/cross-compile.sh
195
198
196
199
links :
197
200
name : Check links
0 commit comments