Skip to content

Commit

Permalink
Rework build system
Browse files Browse the repository at this point in the history
  • Loading branch information
l0go committed Dec 19, 2023
1 parent 817139d commit 95301c7
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 12 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ on:
push:
branches:
- master
- staging
- trying

jobs:
test:
Expand All @@ -19,13 +17,10 @@ jobs:
- name: Setup Haxe
uses: krdlab/[email protected]
with:
haxe-version: 4.2.3
haxe-version: 4.3.3

- run: haxelib install hxcpp 4.2.1
- run: haxelib install hxcpp 4.3.3
- run: haxelib install utest 1.13.2

- name: Test with the interp interpreter
run: haxe Interp.hxml

- name: Test with the hxcpp target
run: haxe Native.hxml
run: haxe Test.hxml
6 changes: 2 additions & 4 deletions Interp.hxml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
--class-path test
--class-path src/
-cp src
-cp vendor/json2object/src/
-cp vendor/hxjsonast/src/
-lib utest
--dce full
--interp
--main TestAll
--main Main
File renamed without changes.
10 changes: 10 additions & 0 deletions src/Main.hx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package;

import keyson.Keyson;
import keyson.KLE;

class Main {
public function main() {
trace("Hello World");
}
}

0 comments on commit 95301c7

Please sign in to comment.