aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2023-02-24 21:58:37 -0500
committerAdam Harrison <adamdharrison@gmail.com>2023-02-24 21:58:37 -0500
commit16bfcdce1d1f739cd0dbc87d33b03b3017b3091d (patch)
tree655638b997fb165c167eab74b12a0a7b07dc9a12 /.github
parente99ac3d394b4f144add6978ddda8be0b64bba9a4 (diff)
downloadlite-xl-plugin-manager-16bfcdce1d1f739cd0dbc87d33b03b3017b3091d.tar.gz
lite-xl-plugin-manager-16bfcdce1d1f739cd0dbc87d33b03b3017b3091d.zip
Changed riscv to musl.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 7392bb4..b2fd643 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -16,12 +16,13 @@ jobs:
run: git submodule update --init --depth=1
- name: Build Linux
run: |
- sudo apt-get install musl-tools musl musl-dev gcc-12-riscv64-linux-gnu
+ sudo apt-get install musl-tools musl musl-dev
+ wget https://musl.cc/riscv64-linux-musl-cross.tgz && tar -zxvf riscv64-linux-musl-cross.tgz
./build.sh clean && BIN=lpm.x86_64-linux CC=musl-gcc ./build.sh -DLPM_STATIC -DLPM_VERSION='"'$FULL_VERSION-x86_64-linux'"' -static
- ./build.sh clean && BIN=lpm.riscv64-linux CC=riscv64-linux-gnu-gcc-12 AR=riscv64-linux-gnu-ar ./build.sh -DLPM_STATIC -DLPM_VERSION='"'$FULL_VERSION-riscv64-linux'"'
+ ./build.sh clean && BIN=lpm.riscv64-linux CC=riscv64-linux-musl-cross/bin/riscv64-linux-musl-gcc AR=riscv64-linux-musl-cross/bin/riscv64-linux-musl-ar ./build.sh -DLPM_STATIC -DLPM_VERSION='"'$FULL_VERSION-riscv64-linux'"' -static
- name: Run Tests
run: |
- ./lpm.x86_64-linux test t/run.lua
+ cp ./lpm.x86_64-linux lpm && ./lpm test t/run.lua
- name: Build Android
env: { ANDROID_ABI_VERSION: "26" }
run: |