📝 adjust CI
This commit is contained in:
parent
0d8a60e4e3
commit
c9c6b905ea
|
@ -1,12 +1,8 @@
|
||||||
name: Build/Test/Package CI
|
name: Nightly Build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 16 * * *"
|
- cron: "0 16 * * *"
|
||||||
push:
|
|
||||||
branches: [ master, develop ]
|
|
||||||
pull_request:
|
|
||||||
branches: [ master ]
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
|
@ -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
|
|
@ -6,6 +6,7 @@
|
||||||
[](./LICENSE)
|
[](./LICENSE)
|
||||||

|

|
||||||
[](https://github.com/ValKmjolnir/Nasal-Interpreter/actions/workflows/c-cpp.yml)
|
[](https://github.com/ValKmjolnir/Nasal-Interpreter/actions/workflows/c-cpp.yml)
|
||||||
|
[](https://github.com/ValKmjolnir/Nasal-Interpreter/actions/workflows/test.yml)
|
||||||
|
|
||||||
> This document is also available in: [__中文__](./doc/README_zh.md) | [__English__](./README.md)
|
> This document is also available in: [__中文__](./doc/README_zh.md) | [__English__](./README.md)
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
[](../LICENSE)
|
[](../LICENSE)
|
||||||

|

|
||||||
[](https://github.com/ValKmjolnir/Nasal-Interpreter/actions/workflows/c-cpp.yml)
|
[](https://github.com/ValKmjolnir/Nasal-Interpreter/actions/workflows/c-cpp.yml)
|
||||||
|
[](https://github.com/ValKmjolnir/Nasal-Interpreter/actions/workflows/test.yml)
|
||||||
|
|
||||||
> 这篇文档包含多语言版本: [__中文__](../doc/README_zh.md) | [__English__](../README.md)
|
> 这篇文档包含多语言版本: [__中文__](../doc/README_zh.md) | [__English__](../README.md)
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ var s = func() {
|
||||||
}
|
}
|
||||||
var ret="";
|
var ret="";
|
||||||
foreach(var elem;filename)
|
foreach(var elem;filename)
|
||||||
ret~=io.readfile(elem);
|
ret~=io.readfile("./src/" ~ elem);
|
||||||
return ret;
|
return ret;
|
||||||
}();
|
}();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue