-
Notifications
You must be signed in to change notification settings - Fork 4
41 lines (32 loc) · 1.05 KB
/
compile.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
35
36
37
38
39
40
41
name: Deno
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Setup repo
uses: actions/checkout@v3
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: vx.x.x
- name: Compile LLM Bot (Windows)
run: deno compile --no-check --allow-all --unstable --target x86_64-pc-windows-msvc --output compiled/llm-bot.exe main.ts
- name: Compile LLM Bot (Linux, x86)
run: deno compile --no-check --allow-all --unstable --target x86_64-unknown-linux-gnu --output compiled/llm-bot.x86_64 main.ts
- name: Upload LLM Bot Artifact (Windows)
uses: actions/[email protected]
with:
name: llm-bot-windows
path: compiled/llm-bot.exe
- name: Upload LLM Bot Artifact (Linux)
uses: actions/[email protected]
with:
name: llm-bot-linux
path: compiled/llm-bot.x86_64