📝 adjust CI

This commit is contained in:
ValKmjolnir
2024-12-11 20:13:49 +08:00
parent 0d8a60e4e3
commit c9c6b905ea
5 changed files with 39 additions and 6 deletions

View File

@@ -1,12 +1,8 @@
name: Build/Test/Package CI
name: Nightly Build
on:
schedule:
- cron: "0 16 * * *"
push:
branches: [ master, develop ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:

35
.github/workflows/test.yml vendored Normal file
View File

@@ -0,0 +1,35 @@
name: Nightly Build
on:
push:
branches: [ master, develop ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
mac-aarch64-build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: |
make -j4
cd module
make all -j4
cd ..
- name: Test
run: make test
linux-x86_64-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: |
make -j4
cd module
make all -j4
cd ..
- name: Test
run: make test