Build modes are specified with -Doptimize now (#961)
This commit is contained in:
parent
6297536d7b
commit
9e986de4d9
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -54,7 +54,7 @@ jobs:
|
|||||||
echo "Building target ${target}..."
|
echo "Building target ${target}..."
|
||||||
if [ "${GITHUB_REF##*/}" == "master" ]; then
|
if [ "${GITHUB_REF##*/}" == "master" ]; then
|
||||||
echo "Building safe"
|
echo "Building safe"
|
||||||
zig build -Dtarget=${target} -Drelease-safe --prefix artifacts/${target}/
|
zig build -Dtarget=${target} -Doptimize=ReleaseSafe --prefix artifacts/${target}/
|
||||||
else
|
else
|
||||||
echo "Building debug as action is not running on master"
|
echo "Building debug as action is not running on master"
|
||||||
zig build -Dtarget=${target} --prefix artifacts/${target}/
|
zig build -Dtarget=${target} --prefix artifacts/${target}/
|
||||||
|
Loading…
Reference in New Issue
Block a user