Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ jobs:
haxelib dev crossbyte "$PWD/crossbyte"

# Run from CrossByte's root: some tests look for src/ above the working directory.
# Both builds add CrossByte with -cp src, so they run its StdOverrides macro, as its
# own ci/*.hxml do: since 1.0.2 crossbyte.core.CrossByte refuses a build without it.
# KNOWN_FAILURES are failures of CrossByte's own tests, not of this runtime:
# the step passes with a warning when they are the only ones. Take each out
# once CrossByte's test is fixed.
Expand All @@ -64,7 +66,8 @@ jobs:
env:
KNOWN_FAILURES: testASmallInt64IsAnInt64WhenWrapped
run: |
haxe -cp src -lib emitter -cp tests -lib utest -D HXCPP_M64 -main NativeSmokeMain --cpp ../cb/native \
haxe -cp src --macro "crossbyte._internal.macro.StdOverrides.use()" -lib emitter -cp tests -lib utest \
-D HXCPP_M64 -main NativeSmokeMain --cpp ../cb/native \
--macro "crossbyte._internal.macro.HostPlatform.define()" --macro "crossbyte.test.SuiteCoverage.check()"
bash ../test/downstream/run-suite.sh ../cb/native.log timeout 1200 ../cb/native/NativeSmokeMain

Expand All @@ -73,7 +76,8 @@ jobs:
shell: bash
working-directory: crossbyte
run: |
haxe -cp src -lib emitter -cp tests -D HXCPP_M64 -main StressMain --cpp ../cb/stress
haxe -cp src --macro "crossbyte._internal.macro.StdOverrides.use()" -lib emitter -cp tests \
-D HXCPP_M64 -main StressMain --cpp ../cb/stress
timeout 1200 ../cb/stress/StressMain

apps:
Expand Down
Loading