Merge pull request #4 from birth-software/integrate-ci

Integrate CI
This commit is contained in:
David 2024-06-30 22:11:57 +02:00 committed by GitHub
commit c7c6c0ac38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 30 additions and 1 deletions

27
.github/workflows/ci.yml vendored Normal file
View 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

View File

@ -25,4 +25,3 @@ bootstrap/entry.S \
-ferror-limit=1 \
`#-ftime-report` \
-MJ $NEST_BUILD_DIR/compile_commands.json
gf2 -ex r $NEST_BUILD_DIR/$NEST_EXE_NAME

3
debug.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
source ./compile.sh
gf2 -ex r $NEST_BUILD_DIR/$NEST_EXE_NAME