mirror of
https://github.com/tensorflow/haskell.git
synced 2024-12-04 08:49:45 +01:00
2b5e41ffeb
* Enforce pedantic build mode in CI. * Our imports drifted really far from where they should be.
11 lines
255 B
Bash
Executable file
11 lines
255 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Builds a test image and runs the tests inside.
|
|
|
|
set -eu -o pipefail
|
|
|
|
IMAGE_NAME=tensorflow/haskell/ci_build:v0
|
|
|
|
git submodule update
|
|
docker build -t $IMAGE_NAME -f ci_build/Dockerfile .
|
|
docker run $IMAGE_NAME stack build --pedantic --test
|