Skip to content

Commit 93457a1

Browse files
committed
First pass at Autobuild support
1 parent acbafa8 commit 93457a1

File tree

9 files changed

+557
-1
lines changed

9 files changed

+557
-1
lines changed

.github/dependabot.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
4+
- package-ecosystem: github-actions
5+
directory: /
6+
schedule:
7+
interval: monthly

.github/release.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
changelog:
2+
exclude:
3+
labels:
4+
- ignore-for-release
5+
authors:
6+
- dependabot
7+
categories:
8+
- title: Breaking Changes 🛠
9+
labels:
10+
- semver-major
11+
- breaking-change
12+
- title: New Features 🎉
13+
labels:
14+
- semver-minor
15+
- enhancement
16+
- title: Other Changes
17+
labels:
18+
- '*'

.github/workflows/build.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build
2+
on:
3+
pull_request:
4+
push:
5+
branches: [main]
6+
tags: [v*]
7+
jobs:
8+
build:
9+
strategy:
10+
matrix:
11+
os: [windows-latest, macos-latest]
12+
addrsize: ["64"]
13+
runs-on: ${{ matrix.os }}
14+
steps:
15+
- name: Setup Homebrew Packages
16+
if: ${{ runner.os == 'macOS' }}
17+
shell: bash
18+
run: brew install ninja
19+
- uses: secondlife/action-autobuild@v4
20+
with:
21+
addrsize: ${{ matrix.addrsize }}
22+
release:
23+
needs: build
24+
runs-on: [ubuntu-latest]
25+
if: startsWith(github.ref, 'refs/tags/v')
26+
steps:
27+
- uses: secondlife/action-autobuild-release@v3

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
build*
21
.idea
32
.DS_Store

VERSION.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1.0.0

autobuild.xml

Lines changed: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
<?xml version="1.0" ?>
2+
<llsd>
3+
<map>
4+
<key>version</key>
5+
<string>1.3</string>
6+
<key>type</key>
7+
<string>autobuild</string>
8+
<key>package_description</key>
9+
<map>
10+
<key>platforms</key>
11+
<map>
12+
<key>common</key>
13+
<map>
14+
<key>build_directory</key>
15+
<string>stage</string>
16+
<key>configurations</key>
17+
<map>
18+
<key>Release</key>
19+
<map>
20+
<key>build</key>
21+
<map>
22+
<key>command</key>
23+
<string>bash</string>
24+
<key>arguments</key>
25+
<array>
26+
<string>-c</string>
27+
<string>../build-cmd.sh</string>
28+
</array>
29+
</map>
30+
<key>name</key>
31+
<string>Release</string>
32+
</map>
33+
<key>RelWithDebInfo</key>
34+
<map>
35+
<key>build</key>
36+
<map>
37+
<key>command</key>
38+
<string>bash</string>
39+
<key>arguments</key>
40+
<array>
41+
<string>-c</string>
42+
<string>../build-cmd.sh</string>
43+
</array>
44+
</map>
45+
<key>name</key>
46+
<string>RelWithDebInfo</string>
47+
</map>
48+
</map>
49+
<key>manifest</key>
50+
<array>
51+
<string>include/EntropyCore/*.h</string>
52+
<string>include/EntropyCore/**/*.h</string>
53+
</array>
54+
<key>name</key>
55+
<string>common</string>
56+
</map>
57+
<key>darwin64</key>
58+
<map>
59+
<key>configurations</key>
60+
<map>
61+
<key>Release</key>
62+
<map>
63+
<key>build</key>
64+
<map>
65+
</map>
66+
<key>name</key>
67+
<string>Release</string>
68+
</map>
69+
<key>RelWithDebInfo</key>
70+
<map>
71+
<key>build</key>
72+
<map>
73+
</map>
74+
<key>default</key>
75+
<boolean>true</boolean>
76+
<key>name</key>
77+
<string>RelWithDebInfo</string>
78+
</map>
79+
</map>
80+
<key>manifest</key>
81+
<array>
82+
<string>lib/release/libEntropyCore.a</string>
83+
</array>
84+
<key>name</key>
85+
<string>darwin64</string>
86+
</map>
87+
<key>windows64</key>
88+
<map>
89+
<key>configurations</key>
90+
<map>
91+
<key>Release</key>
92+
<map>
93+
<key>build</key>
94+
<map>
95+
<key>command</key>
96+
<string>powershell.exe</string>
97+
<key>arguments</key>
98+
<array>
99+
<string>-ExecutionPolicy</string>
100+
<string>Bypass</string>
101+
<string>-File</string>
102+
<string>..\build-cmd.ps1</string>
103+
</array>
104+
</map>
105+
<key>name</key>
106+
<string>Release</string>
107+
</map>
108+
<key>RelWithDebInfo</key>
109+
<map>
110+
<key>build</key>
111+
<map>
112+
<key>command</key>
113+
<string>powershell.exe</string>
114+
<key>arguments</key>
115+
<array>
116+
<string>-ExecutionPolicy</string>
117+
<string>Bypass</string>
118+
<string>-File</string>
119+
<string>..\build-cmd.ps1</string>
120+
</array>
121+
</map>
122+
<key>default</key>
123+
<boolean>true</boolean>
124+
<key>name</key>
125+
<string>RelWithDebInfo</string>
126+
</map>
127+
</map>
128+
<key>manifest</key>
129+
<array>
130+
<string>lib/release/EntropyCore.lib</string>
131+
</array>
132+
<key>name</key>
133+
<string>windows64</string>
134+
</map>
135+
</map>
136+
<key>license</key>
137+
<string>EntropyCore</string>
138+
<key>license_file</key>
139+
<string>LICENSE.md</string>
140+
<key>copyright</key>
141+
<string>Copyright (c) 2025, Jonathan Goodman</string>
142+
<key>name</key>
143+
<string>EntropyCore</string>
144+
<key>canonical_repo</key>
145+
<string>https://github.com/secondlife-3p/EntropyCore</string>
146+
<key>description</key>
147+
<string>EntropyCore is a collection of different primitives that are useful for engine development.</string>
148+
<key>version_file</key>
149+
<string>VERSION.txt</string>
150+
</map>
151+
</map>
152+
</llsd>

0 commit comments

Comments
 (0)