Use x86-64-v3 Microarch

This commit is contained in:
Fijxu
2024-08-22 22:20:52 -04:00
parent 4a2877f28b
commit ae937d8339
2 changed files with 3 additions and 3 deletions

View File

@@ -20,10 +20,10 @@ COPY ./assets/ ./assets/
COPY ./videojs-dependencies.yml ./videojs-dependencies.yml
RUN crystal spec --warnings all \
--link-flags "-lxml2 -llzma"
--link-flags "-lxml2 -llzma"
RUN if [[ "${release}" == 1 ]] ; then \
crystal build ./src/invidious.cr \
--release \
--release --mcpu=x86-64-v3 \
--static --warnings all \
--link-flags "-lxml2 -llzma"; \
else \