Skip to content

Commit 1786db8

Browse files
committed
Try another variation
1 parent c8156d4 commit 1786db8

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/ci_docker_tests.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,18 +69,21 @@ jobs:
6969
run: |
7070
docker version
7171
docker buildx version
72-
docker buildx bake --load --progress=plain -f docker-compose.yml
72+
# First, build the base image that the other images depend on.
73+
docker compose build qsim-base-image
74+
# Now build the other images.
75+
docker compose build
7376
7477
- name: Run C++ tests
75-
run: docker run --rm qsim-cxx-tests:latest
78+
run: docker run --rm qsim-cxx-tests
7679

7780
- name: Run Python tests
78-
run: docker run --rm qsim-py-tests:latest
81+
run: docker run --rm qsim-py-tests
7982

8083
- name: Run a sample simulation
8184
run: docker run --rm qsim:latest -c /qsim/circuits/circuit_q24
8285

8386
- name: Test installation process
8487
run: |
8588
cd install/tests
86-
docker buildx bake --load --progress=plain -f docker-compose.yml
89+
docker compose build

0 commit comments

Comments
 (0)