Skip to content

Commit 12368ab

Browse files
committed
adding rgbds-live
1 parent cfb7743 commit 12368ab

1 file changed

Lines changed: 32 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
name: build-wasm
7474
runs-on: ubuntu-latest
7575
steps:
76-
- uses: actions/checkout@v1
76+
- uses: actions/checkout@v4
7777
with:
7878
submodules: true
7979

@@ -90,8 +90,6 @@ jobs:
9090
with:
9191
version: ${{env.EM_VERSION}}
9292
actions-cache-folder: ${{env.EM_CACHE_FOLDER}}
93-
- name: update path
94-
run: echo "PATH=$PATH:$HOME/emsdk" >> $GITHUB_ENV
9593

9694
- name: mkdir
9795
run: mkdir -p out
@@ -101,3 +99,34 @@ jobs:
10199

102100
- name: build
103101
run: emmake cmake --build out
102+
103+
build-rgbds-live:
104+
name: build-rgbds-live
105+
runs-on: ubuntu-latest
106+
steps:
107+
- uses: actions/checkout@v4
108+
with:
109+
submodules: true
110+
111+
- name: install packages
112+
run: sudo apt-get install ninja-build
113+
114+
- name: setup cache
115+
uses: actions/cache@v4
116+
with:
117+
path: ${{env.EM_CACHE_FOLDER}}
118+
key: ${{env.EM_VERSION}}-${{ runner.os }}
119+
- name: emsdk install
120+
uses: mymindstorm/setup-emsdk@v14
121+
with:
122+
version: ${{env.EM_VERSION}}
123+
actions-cache-folder: ${{env.EM_CACHE_FOLDER}}
124+
125+
- name: mkdir
126+
run: mkdir -p out
127+
128+
- name: cmake
129+
run: emcmake cmake -S . -B out -G Ninja -DCMAKE_BUILD_TYPE=Release -DWERROR=ON -DWASM=true -DRGBDS_LIVE=ONs
130+
131+
- name: build
132+
run: emmake cmake --build out

0 commit comments

Comments
 (0)