update github actions

This commit is contained in:
fasiondog 2023-07-29 01:05:16 +08:00
parent 48b2f894f4
commit 830ca63ebd
2 changed files with 40 additions and 1 deletions

32
.github/workflows/ubuntu_aarch64.yml vendored Normal file
View File

@ -0,0 +1,32 @@
name: ubuntu-build
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
cross: [aarch64-linux-musl]
runs-on: ${{ matrix.os }}
concurrency:
group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-Cross-Musl-${{ matrix.cross }}
cancel-in-progress: true
steps:
- uses: xmake-io/github-action-setup-xmake@v1
- name: checkout
run: |
git clone https://github.com/fasiondog/hikyuu.git --recursive --depth 1
- name: build
run: |
sudo apt-get install -y libsqlite3-dev
cd ./hikyuu
xmake f -y
xmake -b small-test
xmake r small-test

View File

@ -8,7 +8,14 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-2019]
os: [windows-2019, windows-2022]
arch: [x64, arm64]
runs-on: ${{ matrix.os }}
concurrency:
group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-Windows-${{ matrix.os }}-${{ matrix.arch }}
cancel-in-progress: true
steps:
- uses: xmake-io/github-action-setup-xmake@v1