mirror of
https://gitee.com/fasiondog/hikyuu.git
synced 2024-12-02 03:48:19 +08:00
update github actions
This commit is contained in:
parent
48b2f894f4
commit
830ca63ebd
32
.github/workflows/ubuntu_aarch64.yml
vendored
Normal file
32
.github/workflows/ubuntu_aarch64.yml
vendored
Normal 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
|
9
.github/workflows/windows.yml
vendored
9
.github/workflows/windows.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user