Skip to content

Commit

Permalink
Update optimize flags
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Aug 23, 2023
1 parent 2463329 commit 7315441
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/bors.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
status = [
"Build with args: ''",
"Build with args: '-Drelease-safe'",
"Build with args: '-Drelease-fast'",
"Build with args: '-Drelease-small'",
"Build with args: '-Doptimize=ReleaseSafe'",
"Build with args: '-Doptimize=ReleaseFast'",
"Build with args: '-Doptimize=ReleaseSmall'",
"Test",
"Check formatting",
]
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
OPTIMIZE:
[
"",
"-Drelease-safe",
"-Drelease-fast",
"-Drelease-small"
"-Doptimize=ReleaseSafe",
"-Doptimize=ReleaseFast",
"-Doptimize=ReleaseSmall",
]
steps:
- name: Checkout the repository
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RUN apk add --no-cache git
WORKDIR /app
COPY . .
RUN git submodule update --init --recursive && \
zig build -Drelease-safe
zig build -Doptimize=ReleaseSafe

FROM alpine:3.8
WORKDIR /app
Expand Down

0 comments on commit 7315441

Please sign in to comment.