Skip to content

Commit

Permalink
Remove Wasm workflow
Browse files Browse the repository at this point in the history
Former-commit-id: f13ba2d
  • Loading branch information
janhohenheim committed Jan 22, 2024
1 parent 7dc53c8 commit 568618e
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -173,39 +173,3 @@ jobs:
asset_name: ${{ env.GAME_EXECUTABLE_NAME }}_${{ steps.tag.outputs.tag }}_windows.msi
tag: ${{ github.ref }}
overwrite: true
build-web:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
lfs: true
- name: Check out LFS objects
run: |
git lfs pull
- name: Install rust toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ env.NIGHTLY_TOOLCHAIN }}
- name: Install Dependencies
run: sudo apt-get update; sudo apt-get install pkg-config libx11-dev libasound2-dev libudev-dev
- name: Install trunk
uses: jetli/[email protected]
with:
version: "v0.16.0"
- name: Add wasm target
run: |
rustup target add wasm32-unknown-unknown
- name: Build Release
run: |
trunk build --release --public-url "${GITHUB_REPOSITORY#*/}" --no-default-features --features wasm
- name: Optimize Wasm
uses: NiklasEi/wasm-opt-action@v2
with:
file: dist/*.wasm
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: dist

0 comments on commit 568618e

Please sign in to comment.