|
@@ -1,4 +1,4 @@
|
|
-name: Cross (Musl)
|
|
|
|
|
|
+name: Cross
|
|
|
|
|
|
on:
|
|
on:
|
|
pull_request:
|
|
pull_request:
|
|
@@ -10,12 +10,12 @@ jobs:
|
|
strategy:
|
|
strategy:
|
|
matrix:
|
|
matrix:
|
|
os: [ubuntu-latest]
|
|
os: [ubuntu-latest]
|
|
- cross: [arm-unknown-linux-musleabi, aarch64-unknown-linux-musl]
|
|
|
|
|
|
+ cross: [arm-none-linux-gnueabihf, aarch64-none-linux-gnu]
|
|
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
|
|
concurrency:
|
|
concurrency:
|
|
- group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-Cross-Musl-${{ matrix.cross }}
|
|
|
|
|
|
+ group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-Cross-${{ matrix.cross }}
|
|
cancel-in-progress: true
|
|
cancel-in-progress: true
|
|
steps:
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- uses: actions/checkout@v1
|
|
@@ -25,9 +25,9 @@ jobs:
|
|
|
|
|
|
- name: Installation
|
|
- name: Installation
|
|
run: |
|
|
run: |
|
|
- wget https://github.com/musl-cross/musl-cross/releases/download/20240903/${{ matrix.cross }}.tgz
|
|
|
|
- tar -xvf ${{ matrix.cross }}.tgz
|
|
|
|
|
|
+ wget https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-x86_64-${{ matrix.cross }}.tar.xz
|
|
|
|
+ tar -xvf arm-gnu-toolchain-13.3.rel1-x86_64-${{ matrix.cross }}.tar.xz
|
|
|
|
|
|
- name: Tests
|
|
- name: Tests
|
|
run: |
|
|
run: |
|
|
- xmake l ./scripts/test.lua -D -p cross --toolchain=muslcc --sdk=`pwd`/${{ matrix.cross }}
|
|
|
|
|
|
+ xmake l ./scripts/test.lua -D -p cross --sdk=`pwd`/arm-gnu-toolchain-13.3.rel1-x86_64-${{ matrix.cross }}
|