|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
name: Cross (Musl) |
|
|
|
|
name: Cross |
|
|
|
|
|
|
|
|
|
on: |
|
|
|
|
pull_request: |
|
|
|
@ -10,12 +10,12 @@ jobs: |
|
|
|
|
strategy: |
|
|
|
|
matrix: |
|
|
|
|
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 }} |
|
|
|
|
|
|
|
|
|
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 |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@v1 |
|
|
|
@ -25,9 +25,9 @@ jobs: |
|
|
|
|
|
|
|
|
|
- name: Installation |
|
|
|
|
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 |
|
|
|
|
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 }} |