diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-10-24 20:47:50 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-10-24 20:47:50 -0400 |
| commit | f6367a07513271a83944f86c8b237427887efeb2 (patch) | |
| tree | 4091e3877f19d26465ef46ca5e4542589b541f47 /ci | |
| parent | 551e70dcb24e113bf690b9939acb3da51f82de0b (diff) | |
| download | zig-f6367a07513271a83944f86c8b237427887efeb2.tar.gz zig-f6367a07513271a83944f86c8b237427887efeb2.zip | |
ci: build docs, fix PR logic
Diffstat (limited to 'ci')
| -rwxr-xr-x | ci/drone/linux_script | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ci/drone/linux_script b/ci/drone/linux_script index f6dd70eadf..4872c85865 100755 --- a/ci/drone/linux_script +++ b/ci/drone/linux_script @@ -16,10 +16,13 @@ cd build cmake .. -DCMAKE_BUILD_TYPE=Release "-DCMAKE_INSTALL_PREFIX=$DISTDIR" -DZIG_STATIC=ON -DCMAKE_PREFIX_PATH=/deps/local make -j$(nproc) install -./zig build test-behavior +# TODO disabled temporarily to test the CI +#./zig build test-behavior +./zig build docs +# TODO full test suite: #./zig build test -if [ -n "$DRONE_PULL_REQUEST" ]; then +if [ -z "$DRONE_PULL_REQUEST" ]; then mv ../LICENSE "$DISTDIR/" mv ../zig-cache/langref.html "$DISTDIR/" mv "$DISTDIR/bin/zig" "$DISTDIR/" |
