This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ARG UBUNTU_VERSION=24.04 | |
| ARG CUDA_VERSION=13.1.0 | |
| ARG BASE_CUDA_RUN_CONTAINER=nvidia/cuda:${CUDA_VERSION}-runtime-ubuntu${UBUNTU_VERSION} | |
| FROM ${BASE_CUDA_RUN_CONTAINER} AS build | |
| RUN apt-get update && apt-get install -y curl sox && \ | |
| curl https://repo.anaconda.com/pkgs/misc/gpgkeys/anaconda.asc | gpg --dearmor > conda.gpg && \ | |
| install -o root -g root -m 644 conda.gpg /usr/share/keyrings/conda-archive-keyring.gpg && \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package-universal-darwin: | |
| summary: Packages a production build of the application into an universal `.app` bundle | |
| platform: darwin | |
| cmds: | |
| - task: pre-build | |
| - task: build-frontend | |
| - GOOS=darwin GOARCH=amd64 CGO_ENABLED=1 go build -tags production -a -ldflags="-w -s" -o bin/{{.APP_NAME}}_amd64 | |
| - GOOS=darwin GOARCH=arm64 CGO_ENABLED=1 go build -tags production -a -ldflags="-w -s" -o bin/{{.APP_NAME}}_arm64 | |
| - task: post-build | |
| - task: generate-icons |