Skip to content

Build cambia

Build cambia #5

Workflow file for this run

name: Build cambia
on:
workflow_dispatch:
jobs:
npm:
name: Build frontend
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '21'
- name: Install dependencies
run: npm install
working-directory: web
- name: Generate the static site
run: npm run build
working-directory: web
- name: Upload static site files
uses: actions/upload-artifact@v3
with:
name: webui
path: web/build
test:
name: Build executable
needs: npm
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Download static site files
uses: actions/download-artifact@v3
with:
name: webui
path: web/build
- uses: dtolnay/rust-toolchain@stable
- name: Build w/ experimental rippers
run: cargo build --release --features experimental_rippers