mirror of
https://github.com/ioquake/ioq3.git
synced 2024-12-04 01:42:05 +00:00
Add GitHub Actions workflow for web/Emscripten
This commit is contained in:
parent
1f9cbddf37
commit
14a4278cdb
1 changed files with 23 additions and 0 deletions
23
.github/workflows/build.yml
vendored
23
.github/workflows/build.yml
vendored
|
@ -47,3 +47,26 @@ jobs:
|
|||
with:
|
||||
name: macOS
|
||||
path: build/*.zip
|
||||
web:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
repository: emscripten-core/emsdk
|
||||
path: emsdk
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
cd emsdk
|
||||
./emsdk install 3.1.58
|
||||
./emsdk activate 3.1.58
|
||||
- name: Compile
|
||||
env:
|
||||
ARCHIVE: 1
|
||||
run: |
|
||||
source emsdk/emsdk_env.sh
|
||||
emmake make release -j$(nproc)
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Web
|
||||
path: build/*.zip
|
||||
|
|
Loading…
Reference in a new issue