diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 97a8da7e..0a8839d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,8 +77,45 @@ jobs: name: client path: client/dist/* + build-assets: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + lfs: true + + - name: Install Emscripten + run: | + sudo apt-get install -y \ + build-essential \ + cmake \ + imagemagick \ + inotify-tools \ + ucommon-utils \ + unrar \ + zlib1g-dev + git clone https://github.com/emscripten-core/emsdk.git + cd emsdk + ./emsdk install 3.1.8 + ./emsdk activate 3.1.8 + + - name: Build sourdump + run: | + cd assets + mkdir dist + ./setup + + touch dist/blah + + - name: Upload + uses: actions/upload-artifact@v3 + with: + name: assets + path: assets/dist/* + include-hidden-files: true + build-linux-binary: - needs: [build-client, build-game] + needs: [build-assets, build-client, build-game] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4