From b9cb76007c546e67dfb7b642ff14241104067c1b Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 18 Nov 2020 14:52:57 +0100 Subject: [PATCH] Update workflows --- .github/workflows/android_vulkan.yml | 23 +++++++++++++++++ .github/workflows/html5_webgpu.yml | 23 +++++++++++++++++ .github/workflows/ios_metal.yml | 23 +++++++++++++++++ .github/workflows/linux.yml | 17 ------------- .github/workflows/linux_opengl.yml | 23 +++++++++++++++++ .github/workflows/linux_vulkan.yml | 23 +++++++++++++++++ .github/workflows/macos_metal.yml | 23 +++++++++++++++++ .github/workflows/windows_direct3d11.yml | 23 +++++++++++++++++ .github/workflows/windows_direct3d12.yml | 23 +++++++++++++++++ .github/workflows/windowsbuild.yml | 32 ------------------------ 10 files changed, 184 insertions(+), 49 deletions(-) create mode 100644 .github/workflows/android_vulkan.yml create mode 100644 .github/workflows/html5_webgpu.yml create mode 100644 .github/workflows/ios_metal.yml delete mode 100644 .github/workflows/linux.yml create mode 100644 .github/workflows/linux_opengl.yml create mode 100644 .github/workflows/linux_vulkan.yml create mode 100644 .github/workflows/macos_metal.yml create mode 100644 .github/workflows/windows_direct3d11.yml create mode 100644 .github/workflows/windows_direct3d12.yml delete mode 100644 .github/workflows/windowsbuild.yml diff --git a/.github/workflows/android_vulkan.yml b/.github/workflows/android_vulkan.yml new file mode 100644 index 00000000..af078ef2 --- /dev/null +++ b/.github/workflows/android_vulkan.yml @@ -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 diff --git a/.github/workflows/html5_webgpu.yml b/.github/workflows/html5_webgpu.yml new file mode 100644 index 00000000..926d47a1 --- /dev/null +++ b/.github/workflows/html5_webgpu.yml @@ -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 diff --git a/.github/workflows/ios_metal.yml b/.github/workflows/ios_metal.yml new file mode 100644 index 00000000..b50d8d02 --- /dev/null +++ b/.github/workflows/ios_metal.yml @@ -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 diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml deleted file mode 100644 index c0e02acc..00000000 --- a/.github/workflows/linux.yml +++ /dev/null @@ -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 diff --git a/.github/workflows/linux_opengl.yml b/.github/workflows/linux_opengl.yml new file mode 100644 index 00000000..413e2a9b --- /dev/null +++ b/.github/workflows/linux_opengl.yml @@ -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 diff --git a/.github/workflows/linux_vulkan.yml b/.github/workflows/linux_vulkan.yml new file mode 100644 index 00000000..9d1dac3e --- /dev/null +++ b/.github/workflows/linux_vulkan.yml @@ -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 diff --git a/.github/workflows/macos_metal.yml b/.github/workflows/macos_metal.yml new file mode 100644 index 00000000..b1b54528 --- /dev/null +++ b/.github/workflows/macos_metal.yml @@ -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 diff --git a/.github/workflows/windows_direct3d11.yml b/.github/workflows/windows_direct3d11.yml new file mode 100644 index 00000000..748ad7d2 --- /dev/null +++ b/.github/workflows/windows_direct3d11.yml @@ -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 diff --git a/.github/workflows/windows_direct3d12.yml b/.github/workflows/windows_direct3d12.yml new file mode 100644 index 00000000..7c1a4fd1 --- /dev/null +++ b/.github/workflows/windows_direct3d12.yml @@ -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 diff --git a/.github/workflows/windowsbuild.yml b/.github/workflows/windowsbuild.yml deleted file mode 100644 index 10336e1e..00000000 --- a/.github/workflows/windowsbuild.yml +++ /dev/null @@ -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