Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jobs:
- name: Verify binary
run: |
VERSION=${{ steps.version.outputs.version }}
chmod +x releases/${VERSION}/voxtype-${VERSION}-linux-x86_64-avx2
releases/${VERSION}/voxtype-${VERSION}-linux-x86_64-avx2 --version

- name: Upload artifact
Expand Down Expand Up @@ -71,7 +70,6 @@ jobs:
- name: Verify binary
run: |
VERSION=${{ steps.version.outputs.version }}
chmod +x releases/${VERSION}/voxtype-${VERSION}-linux-x86_64-vulkan
releases/${VERSION}/voxtype-${VERSION}-linux-x86_64-vulkan --version

- name: Upload artifact
Expand Down Expand Up @@ -105,7 +103,6 @@ jobs:
- name: Verify binary
run: |
VERSION=${{ steps.version.outputs.version }}
chmod +x releases/${VERSION}/voxtype-${VERSION}-linux-x86_64-parakeet-avx2
releases/${VERSION}/voxtype-${VERSION}-linux-x86_64-parakeet-avx2 --version

- name: Upload artifact
Expand Down Expand Up @@ -143,13 +140,14 @@ jobs:

- name: Install Rust
if: steps.check-avx512.outputs.supported == 'true'
uses: dtolnay/rust-action@stable
uses: dtolnay/rust-toolchain@stable

- name: Install dependencies
if: steps.check-avx512.outputs.supported == 'true'
run: |
sudo apt-get update
sudo apt-get install -y libasound2-dev clang cmake
sudo apt-get install -y libasound2-dev libclang-dev cmake \
libgtk-3-dev libglib2.0-dev libx11-dev libxi-dev libxtst-dev

- name: Build AVX-512 binary
if: steps.check-avx512.outputs.supported == 'true'
Expand Down Expand Up @@ -203,13 +201,15 @@ jobs:

- name: Install Rust
if: steps.check-avx512.outputs.supported == 'true'
uses: dtolnay/rust-action@stable
uses: dtolnay/rust-toolchain@stable

- name: Install dependencies
if: steps.check-avx512.outputs.supported == 'true'
run: |
sudo apt-get update
sudo apt-get install -y libasound2-dev clang cmake
sudo apt-get install -y libasound2-dev libclang-dev cmake \
libgtk-3-dev libglib2.0-dev libx11-dev libxi-dev libxtst-dev \
libssl-dev protobuf-compiler libprotobuf-dev

- name: Build Parakeet AVX-512 binary
if: steps.check-avx512.outputs.supported == 'true'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install Rust
uses: dtolnay/rust-action@stable
uses: dtolnay/rust-toolchain@stable

- name: Install Rust targets
run: |
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/test-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,12 @@ jobs:
cmake \
ruby \
ruby-dev \
build-essential
build-essential \
libgtk-3-dev \
libglib2.0-dev \
libx11-dev \
libxi-dev \
libxtst-dev
sudo gem install fpm

- name: Cache cargo registry
Expand Down
1 change: 1 addition & 0 deletions Dockerfile.build
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,6 @@ RUN echo "=== Verifying AVX2 binary ===" \
# Output stage - copy binary to /output volume
CMD mkdir -p /output \
&& cp /tmp/voxtype-avx2 /output/voxtype-${VERSION}-linux-x86_64-avx2 \
&& chmod 755 /output/voxtype-${VERSION}-linux-x86_64-avx2 \
&& echo "Binary copied to /output:" \
&& ls -la /output/voxtype-*
1 change: 1 addition & 0 deletions Dockerfile.parakeet
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,6 @@ RUN echo "=== Verifying Parakeet AVX2 binary ===" \
# Output stage
CMD mkdir -p /output \
&& cp /tmp/voxtype-parakeet-avx2 /output/voxtype-${VERSION}-linux-x86_64-parakeet-avx2 \
&& chmod 755 /output/voxtype-${VERSION}-linux-x86_64-parakeet-avx2 \
&& echo "Binary copied to /output:" \
&& ls -la /output/voxtype-*
1 change: 1 addition & 0 deletions Dockerfile.vulkan
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,6 @@ RUN echo "=== Verifying Vulkan binary ===" \
# Output stage - copy binary to /output volume
CMD mkdir -p /output \
&& cp /tmp/voxtype-vulkan /output/voxtype-${VERSION}-linux-x86_64-vulkan \
&& chmod 755 /output/voxtype-${VERSION}-linux-x86_64-vulkan \
&& echo "Binary copied to /output:" \
&& ls -la /output/voxtype-*-vulkan