stop the zig build DOS attack on the CI infrastructure
This commit is contained in:
parent
e6634d3c0f
commit
afdc75c1c6
|
@ -32,7 +32,7 @@ jobs:
|
||||||
tar x -C /usr/local -f zig-linux-${ARCH}-${ZIG_VERSION}.tar.xz
|
tar x -C /usr/local -f zig-linux-${ARCH}-${ZIG_VERSION}.tar.xz
|
||||||
ln -s /usr/local/zig-linux-${ARCH}-${ZIG_VERSION}/zig /usr/local/bin/zig
|
ln -s /usr/local/zig-linux-${ARCH}-${ZIG_VERSION}/zig /usr/local/bin/zig
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: zig build test --verbose
|
run: zig build -j1 test --verbose
|
||||||
- name: Build example
|
- name: Build example
|
||||||
run: ( cd example && zig build ) # Make sure example builds
|
run: ( cd example && zig build ) # Make sure example builds
|
||||||
# Zig package manager expects everything to be inside a directory in the archive,
|
# Zig package manager expects everything to be inside a directory in the archive,
|
||||||
|
|
|
@ -35,7 +35,7 @@ jobs:
|
||||||
ln -s /usr/local/"${file%%.tar.xz}"/zig /usr/local/bin/zig
|
ln -s /usr/local/"${file%%.tar.xz}"/zig /usr/local/bin/zig
|
||||||
zig version
|
zig version
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: zig build test --verbose
|
run: zig build -j1 test --verbose
|
||||||
- name: Build example
|
- name: Build example
|
||||||
run: ( cd example && zig build ) # Make sure example builds
|
run: ( cd example && zig build ) # Make sure example builds
|
||||||
# Zig package manager expects everything to be inside a directory in the archive,
|
# Zig package manager expects everything to be inside a directory in the archive,
|
||||||
|
|
|
@ -33,7 +33,7 @@ jobs:
|
||||||
ln -s /usr/local/"${file%%.tar.xz}"/zig /usr/local/bin/zig
|
ln -s /usr/local/"${file%%.tar.xz}"/zig /usr/local/bin/zig
|
||||||
zig version
|
zig version
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: zig build test --verbose
|
run: zig build -j1 test --verbose
|
||||||
- name: Build example
|
- name: Build example
|
||||||
run: ( cd example && zig build ) # Make sure example builds
|
run: ( cd example && zig build ) # Make sure example builds
|
||||||
# Zig package manager expects everything to be inside a directory in the archive,
|
# Zig package manager expects everything to be inside a directory in the archive,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user