mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-10 04:40:25 +01:00
Enable tests for macos
This commit is contained in:
parent
22e0b4e484
commit
0bc4d8b5a2
1 changed files with 13 additions and 1 deletions
14
.github/workflows/main.yml
vendored
14
.github/workflows/main.yml
vendored
|
@ -273,15 +273,19 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
platform: [linux, windows] # Testing not currently supported on macOS.
|
platform: [linux, macos, windows]
|
||||||
bits: [64, 32]
|
bits: [64, 32]
|
||||||
test-type: [headless, rendering]
|
test-type: [headless, rendering]
|
||||||
exclude:
|
exclude:
|
||||||
|
- platform: macos
|
||||||
|
bits: 32
|
||||||
- platform: windows
|
- platform: windows
|
||||||
test-type: rendering
|
test-type: rendering
|
||||||
include:
|
include:
|
||||||
- platform: linux
|
- platform: linux
|
||||||
os: ubuntu-22.04
|
os: ubuntu-22.04
|
||||||
|
- platform: macos
|
||||||
|
os: macos-12
|
||||||
- platform: windows
|
- platform: windows
|
||||||
os: windows-2022
|
os: windows-2022
|
||||||
- platform: linux
|
- platform: linux
|
||||||
|
@ -290,6 +294,8 @@ jobs:
|
||||||
- platform: linux
|
- platform: linux
|
||||||
bits: 32
|
bits: 32
|
||||||
arch: x86_32
|
arch: x86_32
|
||||||
|
- platform: macos
|
||||||
|
arch: universal
|
||||||
- platform: windows
|
- platform: windows
|
||||||
bits: 64
|
bits: 64
|
||||||
arch: x86_64
|
arch: x86_64
|
||||||
|
@ -326,6 +332,12 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: libgodot-xterm-${{ matrix.platform }}-${{ matrix.arch }}-debug
|
name: libgodot-xterm-${{ matrix.platform }}-${{ matrix.arch }}-debug
|
||||||
path: addons/godot_xterm/native/bin
|
path: addons/godot_xterm/native/bin
|
||||||
|
- name: Install molten-vk
|
||||||
|
if: ${{ matrix.platform == 'macos' && matrix.test-type == 'rendering' }}
|
||||||
|
run: brew install molten-vk
|
||||||
|
- name: Re-run editor
|
||||||
|
if: ${{ matrix.platform == 'macos' }}
|
||||||
|
run: godot --editor --headless --quit-after 100 || true # Required for macos to detect GutUtils class.
|
||||||
- name: Test
|
- name: Test
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in a new issue