Integrate CI
This commit is contained in:
parent
2d06e4a632
commit
9514fa8740
27
.github/workflows/ci.yml
vendored
Normal file
27
.github/workflows/ci.yml
vendored
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
name: CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
schedule:
|
||||||
|
- cron: "0 0 * * *"
|
||||||
|
|
||||||
|
env:
|
||||||
|
TIMEOUT_MINUTES: 15
|
||||||
|
jobs:
|
||||||
|
build_and_test:
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
timeout-minutes: 15
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
set -ex
|
||||||
|
./compile.sh
|
||||||
|
- name: Test
|
||||||
|
run: |
|
||||||
|
set -ex
|
||||||
|
./build/nest
|
@ -25,4 +25,3 @@ bootstrap/entry.S \
|
|||||||
-ferror-limit=1 \
|
-ferror-limit=1 \
|
||||||
`#-ftime-report` \
|
`#-ftime-report` \
|
||||||
-MJ $NEST_BUILD_DIR/compile_commands.json
|
-MJ $NEST_BUILD_DIR/compile_commands.json
|
||||||
gf2 -ex r $NEST_BUILD_DIR/$NEST_EXE_NAME
|
|
Loading…
x
Reference in New Issue
Block a user