Skip to content

Commit

Permalink
install dependencies before installing xmake
Browse files Browse the repository at this point in the history
  • Loading branch information
waozixyz committed Jan 22, 2025
1 parent bf4318e commit 20faa04
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@ jobs:
uses: mymindstorm/setup-emsdk@v12
with:
version: '3.1.45' # Latest stable version of Emscripten

# Step 3: Install xmake
- name: Install xmake

- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y cmake ninja-build
wget https://xmake.io/shget.text -O - | bash
source ~/.xmake/profile
# Step 4: Build the project for WASM
- name: Build for Web (WASM)
run: |
Expand Down Expand Up @@ -57,4 +58,3 @@ jobs:
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}

0 comments on commit 20faa04

Please sign in to comment.