Merge pull request #1 from xmake-io/dev
commit
e2052912a6
5 changed files with 68 additions and 17 deletions
@ -0,0 +1,30 @@ |
||||
name: Cross (Musl) |
||||
|
||||
on: |
||||
pull_request: |
||||
push: |
||||
|
||||
jobs: |
||||
build: |
||||
strategy: |
||||
matrix: |
||||
os: [ubuntu-latest] |
||||
cross: [arm-linux-musleabi, aarch64-linux-musl] |
||||
|
||||
runs-on: ${{ matrix.os }} |
||||
|
||||
steps: |
||||
- uses: actions/checkout@v1 |
||||
- uses: xmake-io/github-action-setup-xmake@v1 |
||||
with: |
||||
xmake-version: branch@dev |
||||
|
||||
- name: Installation |
||||
run: | |
||||
wget https://musl.cc/${{ matrix.cross }}-cross.tgz |
||||
tar -xvf ${{ matrix.cross }}-cross.tgz |
||||
|
||||
- name: Tests |
||||
run: | |
||||
xmake l ./scripts/test.lua -D -p cross --sdk=`pwd`/${{ matrix.cross }}-cross |
||||
|
Loading…
Reference in new issue