This commit is contained in:
parent
4a2877f28b
commit
ae937d8339
2 changed files with 3 additions and 3 deletions
2
Makefile
2
Makefile
|
@ -42,7 +42,7 @@ get-libs:
|
|||
|
||||
# TODO: add support for ARM64 via cross-compilation
|
||||
invidious: get-libs
|
||||
crystal build src/invidious.cr $(FLAGS) --progress --stats --error-trace
|
||||
crystal build src/invidious.cr $(FLAGS) --progress --stats --error-trace --mcpu=x86-64-v3
|
||||
|
||||
|
||||
run: invidious
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue