mirror of https://github.com/mode777/rayjs.git
update weekly build
This commit is contained in:
parent
9dff4d624a
commit
52d7f3bfc0
|
@ -29,12 +29,21 @@ jobs:
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
||||||
|
|
||||||
|
- name: Generate Artifacts
|
||||||
|
run: |
|
||||||
|
mkdir release
|
||||||
|
cp -v ./examples/lib.raylib.d.ts ./release
|
||||||
|
cp -v ./main.js ./release
|
||||||
|
cp -v ./raylib ./release
|
||||||
|
cp -v ./readme.md ./release
|
||||||
|
tar -czvf rayjs_linux_x64.tar.gz release
|
||||||
|
|
||||||
- name: Upload Artifacts
|
- name: Upload Artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: rayjs-linux
|
name: rayjs-linux
|
||||||
path: rayjs
|
path: rayjs_linux.tar.gz
|
||||||
|
|
||||||
build-macos:
|
build-macos:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
@ -49,12 +58,21 @@ jobs:
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
||||||
|
|
||||||
|
- name: Generate Artifacts
|
||||||
|
run: |
|
||||||
|
mkdir release
|
||||||
|
cp -v ./examples/lib.raylib.d.ts ./release
|
||||||
|
cp -v ./main.js ./release
|
||||||
|
cp -v ./raylib ./release
|
||||||
|
cp -v ./readme.md ./release
|
||||||
|
tar -czvf rayjs_macos_universal.tar.gz release
|
||||||
|
|
||||||
- name: Upload Artifacts
|
- name: Upload Artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: rayjs-macos
|
name: rayjs-macos
|
||||||
path: rayjs
|
path: rayjs_macos_universal.tar.gz
|
||||||
|
|
||||||
build-windows:
|
build-windows:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
@ -69,9 +87,20 @@ jobs:
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
||||||
|
|
||||||
|
- name: Generate Artifacts
|
||||||
|
run: |
|
||||||
|
mkdir release
|
||||||
|
copy /Y ./examples/lib.raylib.d.ts ./release
|
||||||
|
copy /Y ./main.js ./release
|
||||||
|
copy /Y ./raylib ./release
|
||||||
|
copy /Y ./readme.md ./release
|
||||||
|
7z a ./rayjs_windows_x64.zip ./release
|
||||||
|
dir
|
||||||
|
shell: cmd
|
||||||
|
|
||||||
- name: Upload Artifacts
|
- name: Upload Artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: rayjs-windows
|
name: rayjs-windows
|
||||||
path: rayjs.exe
|
path: rayjs_windows_x64.zip
|
||||||
|
|
Loading…
Reference in New Issue