Skip to content

Commit 3ac39e5

Browse files
committed
First commit
0 parents  commit 3ac39e5

4 files changed

Lines changed: 52 additions & 0 deletions

File tree

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Deploy Dyad Bot
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- bc/build-dyad-bot
8+
pull_request:
9+
10+
jobs:
11+
todo:
12+
name: Build dyad-bot
13+
runs-on: ubuntu-24.04-arm
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: julia-actions/setup-julia@v2
17+
with:
18+
version: '1.12'
19+
- uses: julia-actions/cache@v2
20+
- name: Build dyad-bot
21+
run: |
22+
julia -e 'using Pkg; Pkg.update(); Pkg.Apps.add("JuliaC");'
23+
~/.julia/bin/juliac --trim=unsafe-warn --output-exe ctrl --project deploy --bundle ctrl-bundle deploy/src/main.jl
24+
env:
25+
JULIA_CPU_TARGET: cortex-a53
26+
- name: Create bundle archive
27+
run: zip -r ctrl-bundle.zip ctrl-bundle
28+
- name: Upload artifact
29+
uses: actions/upload-artifact@v4
30+
with:
31+
name: ctrl-bundle
32+
path: ctrl-bundle.zip

deploy/Manifest.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# This file is machine-generated - editing it directly is not advised
2+
3+
julia_version = "1.12.1"
4+
manifest_format = "2.0"
5+
project_hash = "2e6b20c0f0eb37e1fc3d6652abaa16f2bc461506"
6+
7+
[[deps.Printf]]
8+
deps = ["Unicode"]
9+
uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7"
10+
version = "1.11.0"
11+
12+
[[deps.Unicode]]
13+
uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"
14+
version = "1.11.0"

deploy/Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[deps]
2+
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"

deploy/src/main.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
function (@main)(args)::Cint
2+
println(Core.stdout, "hello world!")
3+
return 0
4+
end

0 commit comments

Comments
 (0)