Skip to content

Commit 0f890c9

Browse files
committed
working on build
1 parent 156f80b commit 0f890c9

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/release.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- v*
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Install WASI SDK
17+
uses: konsumer/install-wasi-sdk@v1
18+
with:
19+
version: "25"
20+
- name: Configure CMake
21+
run: cmake -B build -DCMAKE_TOOLCHAIN_FILE=$WASI_SDK_PATH/share/cmake/wasi-sdk.cmake -DCMAKE_BUILD_TYPE=Release
22+
- name: Build CMake
23+
run: cmake --build build
24+
- name: Upload artifact
25+
uses: actions/upload-pages-artifact@v3
26+
with:
27+
path: *.null0
28+

0 commit comments

Comments
 (0)