-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (44 loc) · 1.22 KB
/
ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Simple workflow for deploying static content to GitHub Pages
name: Continuous Integration
on:
# Runs on pushes targeting the default branch
pull_request:
branches: ['main']
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
# Single deploy job since we're just deploying
build:
runs-on: ubuntu-latest
env:
JAVA_OPTS: -Xms6G -Xmx6G -Xss4M
JVM_OPTS: -Xms6G -Xmx6G -Xss4M
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up PNPM
uses: pnpm/[email protected]
with:
version: latest
run_install: false
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: latest
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Set up Emscripten
uses: mymindstorm/setup-emsdk@v14
- name: Build WASM module
run: emmake make -C wasm
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
cache: sbt
- name: Setup SBT
uses: sbt/setup-sbt@v1
- name: Build frontend
run: pnpm run build