aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbt <bt@btxx.org>2024-07-06 12:11:46 -0400
committerbt <bt@btxx.org>2024-07-06 12:11:46 -0400
commitb4977892e64ab45bf307fe9bcbe61a57b72b40d0 (patch)
tree4c106c15510b47a22fd53871380881256b792a87
parent009d75f3e1fdd6127276696b9ba1265eb97c69bc (diff)
Test out build speed using OpenBSD image
-rw-r--r--.build.yml20
-rw-r--r--header.html4
2 files changed, 16 insertions, 8 deletions
diff --git a/.build.yml b/.build.yml
index 9a6fa01..05707cf 100644
--- a/.build.yml
+++ b/.build.yml
@@ -1,16 +1,22 @@
-image: alpine/latest
+image: openbsd/latest
oauth: pages.sr.ht/PAGES:RW
packages:
-- rsync
-- coreutils
-- lowdown
-- go
-- hut
+- coreutils--
+- gsed--
+- cmake--
+- gcc--
+- lowdown--
+- go--
environment:
site: bt.srht.site
sources:
- https://git.sr.ht/~bt/btxx.org
tasks:
+- install-hut: |
+ git clone https://git.sr.ht/~xenrox/hut
+ cd hut
+ make
+ doas make install
- build: |
cd btxx.org
make build
@@ -18,4 +24,4 @@ tasks:
cd btxx.org/build
tar -cvz . > ../../site.tar.gz
- upload: |
- hut pages publish -d bt.srht.site site.tar.gz \ No newline at end of file
+ hut pages publish -d bt.srht.site site.tar.gz
diff --git a/header.html b/header.html
index cd1ca7a..7d06ac6 100644
--- a/header.html
+++ b/header.html
@@ -8,7 +8,9 @@
<title>{{TITLE}}</title>
<link href="/atom.xml" type="application/atom+xml" rel="alternate" title="Atom feed for blog posts" />
<link href="/rss.xml" type="application/rss+xml" rel="alternate" title="RSS feed for blog posts" />
-<style>*{box-sizing:border-box;}body{font-family:sans-serif;line-height:1.33;margin:0 auto;max-width:650px;padding:1rem;}blockquote{background:rgba(0,0,0,0.1);border-left:4px solid;padding-left:5px;}img{max-width:100%;}pre{border:1px solid;overflow:auto;padding:5px;}table{text-align:left;width:100%;}.posts,#menu{list-style:none;padding:0;}.posts li{margin-bottom:8px;}.posts li span{display:block;font-size:90%;}#menu li{display:inline-block;margin-right:8px;}.footnotes{font-size:90%;}</style>
+<style>*{box-sizing:border-box;}body{font-family:sans-serif;line-height:1.33;margin:0
+auto;max-width:650px;padding:1rem;}blockquote{background:#eee;border-left:4px
+ solid;color:black;padding-left:5px;}img{max-width:100%;}pre{border:1px solid;overflow:auto;padding:5px;}table{text-align:left;width:100%;}.posts,#menu{list-style:none;padding:0;}.posts li{margin-bottom:8px;}.posts li span{display:block;font-size:90%;}#menu li{display:inline-block;margin-right:8px;}.footnotes{font-size:90%;}</style>
</head>
<nav>