From 930885fd9e41d729d25f28c885aa1d3990174feb Mon Sep 17 00:00:00 2001 From: Xephobia Date: Wed, 27 May 2020 10:16:31 +0200 Subject: [PATCH] compile directly with --compile --- .github/workflows/windowsbuild.yml | 37 +++++++++++++----------------- 1 file changed, 16 insertions(+), 21 deletions(-) diff --git a/.github/workflows/windowsbuild.yml b/.github/workflows/windowsbuild.yml index 86986f6d..3d4be352 100644 --- a/.github/workflows/windowsbuild.yml +++ b/.github/workflows/windowsbuild.yml @@ -1,35 +1,30 @@ -name: CI +name: Windows (Direct3D 11) on: push: - branches: [ master ] + branches: + - master pull_request: - branches: [ master ] + branches: + - master jobs: build: + runs-on: windows-latest - + steps: - - uses: actions/checkout@v2 - - - name: Setup Node.js environment + - 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: setup-msbuild - uses: microsoft/setup-msbuild@v1 - - - name: Kromx process - run: node Kromx/make - - - name: extract v8_monolith + - name: kromx + run: node Kromx/make -g direct3d11 + - name: Unpack v8_monolith uses: DuckSoft/extract-7z-action@v1.0 with: pathSource: Kromx/v8/libraries/win32/release/v8_monolith.7z pathTarget: Kromx/v8/libraries/win32/release/ - - - name: Kinc process - run: node Kromx/Kinc/make -g direct3d11 - - - name: build solution - run: msbuild Kromx/build/Krom.sln /property:Configuration=Release + - name: Kinc and compile + run: node Kinc/make -g direct3d11 --compile