Update webassembly.yml

This commit is contained in:
Ray 2020-08-20 12:03:07 +02:00 committed by GitHub
parent 4f55d833d3
commit 9d74f27abd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,9 +22,6 @@ jobs:
with: with:
version: 2.0.0 version: 2.0.0
actions-cache-folder: 'emsdk-cache' actions-cache-folder: 'emsdk-cache'
- name: Test emsdk
run: emcc -v
- name: Setup Environment - name: Setup Environment
run: | run: |
@ -35,12 +32,11 @@ jobs:
mkdir include mkdir include
mkdir lib mkdir lib
cd ../.. cd ../..
dir C:\msys64\mingw32
dir C:\msys64\mingw64
- name: Build Library - name: Build Library
run: | run: |
cd src cd src
emcc -v
make PLATFORM=PLATFORM_WEB EMSDK_PATH="D:/a/raylib/raylib/emsdk-cache/emsdk-master" RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib" make PLATFORM=PLATFORM_WEB EMSDK_PATH="D:/a/raylib/raylib/emsdk-cache/emsdk-master" RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib"
cd .. cd ..