Skip to content

Commit 4216948

Browse files
steinbeckclaude
andcommitted
ci: add Docker build and test to CI pipeline
Builds the Docker image and verifies it runs correctly. This would have caught the missing zlib-static issue. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d9f723a commit 4216948

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,3 +290,19 @@ jobs:
290290
echo ""
291291
echo "SUCCESS: All platforms produce identical results"
292292
fi
293+
294+
build-docker:
295+
runs-on: ubuntu-latest
296+
steps:
297+
- uses: actions/checkout@v4
298+
299+
- name: Build Docker image
300+
run: docker build -t surge:test .
301+
302+
- name: Test Docker image
303+
run: |
304+
docker run --rm surge:test -u C6H6
305+
docker run --rm surge:test -S C3H8
306+
307+
- name: Check image size
308+
run: docker images surge:test --format "{{.Size}}"

0 commit comments

Comments
 (0)