Skip to content

Commit 44ac7cd

Browse files
Run the native tests alone
1 parent b565b66 commit 44ac7cd

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

‎.github/workflows/native-only.yml‎

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: native-only
2+
on:
3+
push:
4+
branches: [scratch/native]
5+
jobs:
6+
native:
7+
strategy:
8+
fail-fast: false
9+
matrix:
10+
os: [ubuntu-latest, windows-latest, macos-latest]
11+
haxe: [latest, 4.3.7]
12+
flags: ['', -D disable_unicode_strings]
13+
runs-on: ${{ matrix.os }}
14+
name: native ${{ matrix.os }} ${{ matrix.haxe }} ${{ matrix.flags }}
15+
defaults:
16+
run:
17+
working-directory: test/native
18+
steps:
19+
- name: checkout
20+
uses: actions/checkout@v4
21+
- name: setup
22+
uses: ./.github/workflows/setup
23+
with:
24+
haxe: ${{ matrix.haxe }}
25+
- name: build
26+
run: haxe compile.hxml ${{ matrix.flags }} -D ${{ matrix.os == 'macos-latest' && 'HXCPP_ARM64' || 'HXCPP_M64' }}
27+
- name: run
28+
shell: bash
29+
run: bin/Native

0 commit comments

Comments
 (0)