Skip to content

Commit 769956b

Browse files
authored
ci: build "native" binaries (#263)
1 parent d75b937 commit 769956b

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
target:
12+
- x86_64-unknown-linux-gnu
13+
- aarch64-unknown-linux-gnu
14+
- x86_64-pc-windows-msvc
15+
- x86_64-apple-darwin
16+
- aarch64-apple-darwin
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: denoland/setup-deno@v2
20+
with:
21+
deno-version: v2.x
22+
- run: deno install
23+
- run: |
24+
deno compile \
25+
--allow-all \
26+
--no-check \
27+
--target ${{ matrix.target }} \
28+
--include runtime \
29+
--include compiler \
30+
--output out/porf \
31+
runtime/index.js
32+
- uses: actions/upload-artifact@v4
33+
with:
34+
name: porf-${{ matrix.target }}
35+
path: out/*

0 commit comments

Comments
 (0)