-
Notifications
You must be signed in to change notification settings - Fork 39
34 lines (32 loc) · 873 Bytes
/
wasm.yml
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
name: wasm
on:
workflow_dispatch:
push:
branches:
- "master"
jobs:
wasm:
runs-on: ubuntu-latest
steps:
- name: Install Deno
run: curl -fsSL https://deno.land/x/install/install.sh | sh
- uses: actions/checkout@v1
- name: Build SQLite
id: build
run: |
export DENO_INSTALL="/home/runner/.deno"
export PATH="$DENO_INSTALL/bin:$PATH"
sudo apt-get -y install --no-install-recommends tclsh gcc brotli
cd build
make setup amalgamation release
- name: Remove any non tracked build artifacts
run: |
cd build
make clean
- uses: stefanzweifel/git-auto-commit-action@v2.5.0
with:
commit_message: (GitHub Action) Rebuild SQLite WASM
branch: master
file_pattern: build/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}