diff --git a/.github/workflows/downstream.yml b/.github/workflows/downstream.yml index 08d984a4..805568d1 100644 --- a/.github/workflows/downstream.yml +++ b/.github/workflows/downstream.yml @@ -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. @@ -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 @@ -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: