Merge pull request #5 from birth-software/test-script

Make test script
This commit is contained in:
David 2024-06-30 23:12:28 +02:00 committed by GitHub
commit 0d090af4b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 9 additions and 8 deletions

View File

@ -17,11 +17,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
- name: Build and test
run: |
set -ex
./compile.sh
- name: Test
run: |
set -ex
./build/nest
./run_tests.sh

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
NEST_BUILD_DIR=build
NEST_EXE_NAME=nest
set -ex

View File

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

4
run_tests.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
set -ex
source ./compile.sh
build/nest