Update workflows
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
name: Android (Vulkan)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Get Submodules
|
||||
run: git submodule update --init --recursive
|
||||
- name: Get Node.js
|
||||
run: git clone https://github.com/armory3d/nodejs_bin.git --depth 1
|
||||
- name: Compile
|
||||
run: nodejs_bin/node-linux64 armorcore/make android -g vulkan
|
||||
@@ -0,0 +1,23 @@
|
||||
name: HTML5 (WebGPU)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Get Submodules
|
||||
run: git submodule update --init --recursive
|
||||
- name: Get Node.js
|
||||
run: git clone https://github.com/armory3d/nodejs_bin.git --depth 1
|
||||
- name: Compile
|
||||
run: nodejs_bin/node-linux64 armorcore/make html5 -g webgpu
|
||||
@@ -0,0 +1,23 @@
|
||||
name: iOS (Metal)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: macOS-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Get Submodules
|
||||
run: git submodule update --init --recursive
|
||||
- name: Get Node.js
|
||||
run: git clone https://github.com/armory3d/nodejs_bin.git --depth 1
|
||||
- name: Compile
|
||||
run: nodejs_bin/node-osx armorcore/make ios -g metal
|
||||
@@ -1,17 +0,0 @@
|
||||
name: Linux
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Get Submodules
|
||||
run: git submodule update --init --recursive
|
||||
- name: Get Node.js
|
||||
run: git clone https://github.com/Kode/nodejs_bin.git --depth 1
|
||||
- name: Compile
|
||||
run: nodejs_bin/node-linux64 armorcore/make.js -g opengl
|
||||
@@ -0,0 +1,23 @@
|
||||
name: Linux (OpenGL)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Get Submodules
|
||||
run: git submodule update --init --recursive
|
||||
- name: Get Node.js
|
||||
run: git clone https://github.com/armory3d/nodejs_bin.git --depth 1
|
||||
- name: Compile
|
||||
run: nodejs_bin/node-linux64 armorcore/make -g opengl
|
||||
@@ -0,0 +1,23 @@
|
||||
name: Linux (OpenGL)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Get Submodules
|
||||
run: git submodule update --init --recursive
|
||||
- name: Get Node.js
|
||||
run: git clone https://github.com/armory3d/nodejs_bin.git --depth 1
|
||||
- name: Compile
|
||||
run: nodejs_bin/node-linux64 armorcore/make -g vulkan
|
||||
@@ -0,0 +1,23 @@
|
||||
name: macOS (Metal)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: macOS-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Get Submodules
|
||||
run: git submodule update --init --recursive
|
||||
- name: Get Node.js
|
||||
run: git clone https://github.com/armory3d/nodejs_bin.git --depth 1
|
||||
- name: Compile
|
||||
run: nodejs_bin/node-osx armorcore/make -g metal
|
||||
@@ -0,0 +1,23 @@
|
||||
name: Windows (Direct3D11)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Get Submodules
|
||||
run: git submodule update --init --recursive
|
||||
- name: Get Node.js
|
||||
run: git clone https://github.com/armory3d/nodejs_bin.git --depth 1
|
||||
- name: Compile
|
||||
run: nodejs_bin/node.exe armorcore/make -g direct3d11
|
||||
@@ -0,0 +1,23 @@
|
||||
name: Windows (Direct3D12)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Get Submodules
|
||||
run: git submodule update --init --recursive
|
||||
- name: Get Node.js
|
||||
run: git clone https://github.com/armory3d/nodejs_bin.git --depth 1
|
||||
- name: Compile
|
||||
run: nodejs_bin/node.exe armorcore/make -g direct3d12
|
||||
@@ -1,32 +0,0 @@
|
||||
name: Windows (Direct3D 11)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Get Submodules
|
||||
run: git submodule update --init --recursive
|
||||
- name: Get Node.js
|
||||
uses: actions/setup-node@v1.4.2
|
||||
- name: install msbuild
|
||||
uses: microsoft/setup-msbuild@v1
|
||||
- name: armorcore
|
||||
run: node armorcore/make -g direct3d11
|
||||
- name: Unpack v8_monolith
|
||||
uses: DuckSoft/extract-7z-action@v1.0
|
||||
with:
|
||||
pathSource: armorcore/v8/libraries/win32/release/v8_monolith.7z
|
||||
pathTarget: armorcore/v8/libraries/win32/release/
|
||||
- name: Kinc and compile
|
||||
run: cd armorcore;node Kinc/make -g direct3d11 --compile
|
||||
Reference in New Issue
Block a user