Skip to content

Commit

Permalink
Release x86_64 only on musl
Browse files Browse the repository at this point in the history
  • Loading branch information
kaaveland committed May 10, 2024
1 parent 1f882e1 commit f1ea97f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/upload_release_to_gh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,14 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
strategy:
fail-fast: false
matrix:
target:
- toolchain: x86_64-unknown-linux-gnu
platform: linux/amd64
runs-on: ubuntu-latest
cargo: cargo
# A `libclang` function was called that is not supported by the loaded `libclang` instance.-
# - toolchain: x86_64-unknown-linux-gnu
# platform: linux/amd64
# runs-on: ubuntu-latest
# cargo: cargo
# A `libclang` function was called that is not supported by the loaded `libclang` instance.
# - toolchain: aarch64-unknown-linux-gnu
# platform: linux/arm64
Expand Down Expand Up @@ -123,7 +125,7 @@ jobs:
run: |
version="$(cargo read-manifest | jq -r .version)"
gh release download "$version"
cp eugene-x86_64-unknown-linux-gnu eugene-amd64
cp eugene-x86_64-unknown-linux-musl eugene-amd64
cp eugene-aarch64-unknown-linux-musl eugene-arm64
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "eugene"
version = "0.2.2"
version = "0.2.3"
edition = "2021"
description = "Careful with That Lock, Eugene"

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debian:stable-slim
FROM alpine

ARG TARGETARCH
COPY ./eugene-${TARGETARCH} /usr/local/bin/eugene
Expand Down

0 comments on commit f1ea97f

Please sign in to comment.