Skip to content

Commit f1fd472

Browse files
committed
Use cross to compile linux-x86_64-musl
1 parent 7dcf8de commit f1fd472

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
with:
9393
tool: cargo-about
9494
- name: Install cross (For aarch64-unknown-linux-gnu)
95-
if: matrix.target == 'aarch64-unknown-linux-gnu'
95+
if: matrix.target == 'aarch64-unknown-linux-gnu' || matrix.target == 'x86_64-unknown-linux-musl'
9696
uses: taiki-e/install-action@v2
9797
with:
9898
tool: cross
@@ -104,7 +104,7 @@ jobs:
104104
run: cross build --release --target ${{ matrix.target }}
105105
- name: Build Linux x86_64 musl
106106
if: matrix.target == 'x86_64-unknown-linux-musl'
107-
run: cargo build --release --target ${{ matrix.target }} -p packobf_cli -p packobf_gui
107+
run: cross build --release --target ${{ matrix.target }} -p packobf_cli -p packobf_gui
108108
- name: Prepare License
109109
run: cargo about generate about.hbs | perl -0777 -pe 's/\s+$/\n/' | tee -a LICENSE.md > /dev/null
110110
- name: Prepare CLI Executable

0 commit comments

Comments
 (0)