Skip to content

Commit

Permalink
Merge remote-tracking branch 'zsl/build-packages-cpack' into build-pa…
Browse files Browse the repository at this point in the history
…ckages-cpack
  • Loading branch information
milyin committed Oct 22, 2024
2 parents 772635d + 40aee05 commit 1590e81
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,39 @@ jobs:
- name: Add rust toolchain
run: rustup target add ${{ matrix.build.target }}

- name: Install build deps
if: ${{ matrix.build.target == 'x86_64-unknown-linux-musl'}}
run: apt install -y musl-gcc

- name: Install build deps
if: ${{ matrix.build.target == 'arm-unknown-linux-gnueabi'}}
run: apt install -y arm-linux-gnueabi-gcc

- name: Install build deps
if: ${{ matrix.build.target == 'arm-unknown-linux-gnueabihf'}}
run: apt install -y arm-linux-gnueabihf-gcc

- name: Install build deps
if: ${{ matrix.build.target == 'armv7-unknown-linux-gnueabihf'}}
run: apt install -y arm-linux-gnueabihf-gcc

- name: Install build deps
if: ${{ matrix.build.target == 'aarch64-unknown-linux-gnu'}}
run: apt install -y aarch64-linux-gnu-gcc

- name: Install build deps
if: ${{ matrix.build.target == 'aarch64-unknown-linux-musl'}}
run: apt install -y aarch64-linux-musl-gcc

# FIXME: not sure what deps are missing on windows
#- name: Install build deps
# if: ${{ matrix.build.target == 'x86_64-pc-windows-msvc'}}
# run: apt install -y

#- name: Install build deps
# if: ${{ matrix.build.target == 'x86_64-pc-windows-gnu'}}
# run: apt install -y

- id: build
run: |
mkdir -p build && cd build
Expand Down

0 comments on commit 1590e81

Please sign in to comment.