File tree Expand file tree Collapse file tree 2 files changed +21
-6
lines changed Expand file tree Collapse file tree 2 files changed +21
-6
lines changed Original file line number Diff line number Diff line change @@ -94,10 +94,25 @@ jobs:
94
94
runs-on : macos-12
95
95
env :
96
96
VAGRANT_VAGRANTFILE : hack/Vagrantfile.freebsd13
97
+ GOOS : freebsd
97
98
steps :
98
99
-
99
100
name : Checkout
100
101
uses : actions/checkout@v3
102
+ -
103
+ name : Set up Go
104
+ uses : actions/setup-go@v3
105
+ with :
106
+ go-version : " ${{ env.GO_VERSION }}"
107
+ cache : true
108
+
109
+ - name : Build buildkitd binary
110
+ run : |
111
+ go build ./cmd/buildkitd
112
+
113
+ - name : Build buildctl binary
114
+ run : |
115
+ go build ./cmd/buildctl
101
116
-
102
117
name : Cache Vagrant boxes
103
118
uses : actions/cache@v3
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Vagrant.configure("2") do |config|
13
13
#!/usr/bin/env bash
14
14
set -eux -o pipefail
15
15
kldload nullfs
16
- pkg install -y go git containerd runj
16
+ pkg install -y git containerd runj
17
17
mkdir -p /vagrant/coverage /vagrant/.tmp/logs
18
18
SHELL
19
19
end
@@ -23,8 +23,8 @@ Vagrant.configure("2") do |config|
23
23
#!/usr/bin/env bash
24
24
set -eux -o pipefail
25
25
cd /vagrant
26
- go build -o /usr/bin/buildkitd ./cmd /buildkitd
27
- type /usr/bin/buildkitd
26
+ install -m 755 buildkitd /usr/local/bin /buildkitd
27
+ type /usr/local/ bin/buildkitd
28
28
buildkitd --version
29
29
SHELL
30
30
end
@@ -34,8 +34,8 @@ Vagrant.configure("2") do |config|
34
34
#!/usr/bin/env bash
35
35
set -eux -o pipefail
36
36
cd /vagrant
37
- go build -o /usr/bin/buildctl ./cmd /buildctl
38
- type /usr/bin/buildctl
37
+ install -m 755 buildctl /usr/local/bin /buildctl
38
+ type /usr/local/ bin/buildctl
39
39
SHELL
40
40
end
41
41
@@ -53,7 +53,7 @@ Vagrant.configure("2") do |config|
53
53
#!/usr/bin/env bash
54
54
set -eux -o pipefail
55
55
mkdir -p /run/buildkit
56
- daemon -o /vagrant/.tmp/logs/buildkitd /usr/bin/buildkitd --addr=unix:///run/buildkit/buildkitd.sock
56
+ daemon -o /vagrant/.tmp/logs/buildkitd /usr/local/ bin/buildkitd --addr=unix:///run/buildkit/buildkitd.sock
57
57
sleep 3
58
58
SHELL
59
59
end
You can’t perform that action at this time.
0 commit comments