Removed test runner, because SDL is needed
This commit is contained in:
21
.github/workflows/c-cpp.yml
vendored
21
.github/workflows/c-cpp.yml
vendored
@@ -1,21 +0,0 @@
|
||||
name: Basic Tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main", "dev" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: clone submodules
|
||||
run: git submodule update --init --recursive
|
||||
- name: install valgrind
|
||||
run: sudo apt install valgrind
|
||||
- name: make test
|
||||
run: make test
|
||||
@@ -5,8 +5,6 @@
|
||||
#include "literal_dictionary.h"
|
||||
#include "interpreter.h"
|
||||
|
||||
#include "core_common.h"
|
||||
|
||||
#define OPAQUE_TAG_ENGINE_NODE 1
|
||||
|
||||
//forward declare
|
||||
@@ -16,7 +14,7 @@ typedef void (*EngineNodeCallback)(void*);
|
||||
//the node object, which forms a tree
|
||||
typedef struct _engineNode {
|
||||
//function for releasing memory
|
||||
EngineNodeCallback freeMemory;
|
||||
EngineNodeCallback freeMemory; //TODO: remove this, not needed
|
||||
|
||||
//toy functions, stored in a dict for flexibility
|
||||
LiteralDictionary* functions;
|
||||
|
||||
@@ -34,7 +34,7 @@ int main() {
|
||||
|
||||
initEngineNode(node, &interpreter, tb, size);
|
||||
|
||||
Literal nodeLiteral = TO_OPAQUE_LITERAL(node, 0);
|
||||
Literal nodeLiteral = TO_OPAQUE_LITERAL(node, OPAQUE_TAG_ENGINE_NODE);
|
||||
|
||||
//argument list to pass in the node
|
||||
LiteralArray arguments;
|
||||
|
||||
Reference in New Issue
Block a user