Skip to content

Commit

Permalink
Figured out that there's a lychee aarch64/musl build not labeled aarc…
Browse files Browse the repository at this point in the history
…h64.
  • Loading branch information
skyzyx committed Apr 8, 2024
1 parent 96f2882 commit 3be41b1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/build-lychee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,19 +73,20 @@ jobs:
path: packages/lychee/dist
lookup-only: true

compile:
if: needs.lookup.outputs.cache_hit != 'true'
needs: lookup
name: Compile for musl
uses: northwood-labs/package-building/.github/workflows/_build-musl.yml@main
secrets: inherit
with:
package-name: lychee
package-version: "${{ needs.lookup.outputs.package_version }}"
# compile:
# if: needs.lookup.outputs.cache_hit != 'true'
# needs: lookup
# name: Compile for musl
# uses: northwood-labs/package-building/.github/workflows/_build-musl.yml@main
# secrets: inherit
# with:
# package-name: lychee
# package-version: "${{ needs.lookup.outputs.package_version }}"

build:
if: needs.lookup.outputs.cache_hit != 'true'
needs: compile
# needs: compile
needs: lookup
name: Build and cache
uses: northwood-labs/package-building/.github/workflows/_build-and-cache.yml@main
secrets: inherit
Expand Down
7 changes: 6 additions & 1 deletion packages/lychee/download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,9 @@ download-asset get \
;

# linux/arm64 (ARM64) musl
# Need to build from source.
download-asset get \
--owner-repo "lycheeverse/lychee" \
--pattern "lychee-v{{.Ver}}-arm-unknown-linux-musleabihf.{{.Ext}}" \
--archive-path "lychee" \
--write-to-bin "lychee_musl_arm64" \
;

0 comments on commit 3be41b1

Please sign in to comment.