Skip to content

Commit

Permalink
setup riscv
Browse files Browse the repository at this point in the history
  • Loading branch information
thewh1teagle committed Dec 8, 2024
1 parent de32ec2 commit 4bfd2e3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/publish-libaec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ jobs:
archive: "tar"
target: "x86_64-unknown-linux-gnu"

- platform: "ubuntu-22.04" # riscv64
args: "--target riscv64gc-unknown-linux-gnu"
build-dir: "libaec-riscv64gc-unknown-linux-gnu"
archive: "tar"
target: "riscv64gc-unknown-linux-gnu"

- platform: "macos-latest" # Linux arm64
args: ""
build-dir: "libaec-android-aarch64"
Expand Down Expand Up @@ -81,6 +87,12 @@ jobs:
echo "CXX=aarch64-linux-gnu-g++" >> $GITHUB_ENV
if: matrix.target == 'aarch64-unknown-linux-gnu'

- name: Install riscv64 toolchain
run: |
sudo apt update
sudo apt install gcc-riscv64-linux-gnu g++-riscv64-linux-gnu libc6-dev-riscv64-cross
if: matrix.target == 'riscv64gc-unknown-linux-gnu'

- name: Setup Android NDK
uses: nttld/setup-ndk@v1
id: setup-ndk
Expand Down

0 comments on commit 4bfd2e3

Please sign in to comment.