|
| 1 | +name: gcstress-only |
| 2 | +on: |
| 3 | + push: |
| 4 | + branches: [scratch/gc-stress] |
| 5 | +jobs: |
| 6 | + gc_stress: |
| 7 | + strategy: |
| 8 | + fail-fast: false |
| 9 | + matrix: |
| 10 | + target: |
| 11 | + - { os: ubuntu-latest, arch: HXCPP_M64 } |
| 12 | + - { os: windows-latest, arch: HXCPP_M64 } |
| 13 | + - { os: windows-latest, arch: HXCPP_M32 } |
| 14 | + - { os: macos-latest, arch: HXCPP_ARM64 } |
| 15 | + mode: |
| 16 | + - { variant: default, flags: '', bin: Stress } |
| 17 | + - { variant: generational, flags: -D HXCPP_GC_GENERATIONAL, bin: Stress } |
| 18 | + - { variant: moving, flags: -D HXCPP_GC_MOVING, bin: Stress } |
| 19 | + - { variant: always move, flags: --debug -D HXCPP_GC_DEBUG_ALWAYS_MOVE, bin: Stress-debug } |
| 20 | + - { variant: verify, flags: -D HXCPP_GC_VERIFY, bin: Stress } |
| 21 | + - { variant: generational verify, flags: -D HXCPP_GC_GENERATIONAL -D HXCPP_GC_VERIFY, bin: Stress } |
| 22 | + - { variant: big blocks, flags: -D HXCPP_GC_BIG_BLOCKS, bin: Stress } |
| 23 | + - { variant: check pointer, flags: --debug, bin: Stress-debug } |
| 24 | + runs-on: ${{ matrix.target.os }} |
| 25 | + name: ${{ matrix.target.os }} ${{ matrix.target.arch }} ${{ matrix.mode.variant }} |
| 26 | + defaults: |
| 27 | + run: |
| 28 | + working-directory: test/gc_stress |
| 29 | + shell: bash |
| 30 | + steps: |
| 31 | + - uses: actions/checkout@v4 |
| 32 | + - uses: ./.github/workflows/setup |
| 33 | + with: |
| 34 | + haxe: 4.3.7 |
| 35 | + - run: haxe compile.hxml ${{ matrix.mode.flags }} -D ${{ matrix.target.arch }} |
| 36 | + - run: bin/${{ matrix.mode.bin }} 30 |
0 commit comments