File tree Expand file tree Collapse file tree 2 files changed +30
-35
lines changed Expand file tree Collapse file tree 2 files changed +30
-35
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 95
95
name : ${{ runner.os }}
96
96
path : _release/stack-*
97
97
98
+ linux-arm64 :
99
+ name : Linux ARM64
100
+ runs-on : [self-hosted, linux, ARM64]
101
+ steps :
102
+ - name : Clone project
103
+ uses : actions/checkout@v3
104
+
105
+ - name : Build bindist
106
+ shell : bash
107
+ run : |
108
+ set -ex
109
+ docker build . -f etc/dockerfiles/arm64.Dockerfile -t stack --build-arg USERID=$(id -u) --build-arg GROUPID=$(id -g)
110
+ rm -rf _release
111
+ mkdir -p _release
112
+ docker run --rm -v $(pwd):/src -w /src stack bash -c "/home/stack/release build"
113
+
114
+ - name : Upload bindist
115
+ uses : actions/upload-artifact@v3
116
+ with :
117
+ name : Linux-ARM64
118
+ path : _release/stack-*
119
+
98
120
github-release :
99
121
name : Create Github release
100
- needs : integration-tests
122
+ needs :
123
+ - integration-tests
124
+ - linux-arm64
101
125
runs-on : ubuntu-latest
102
126
if : startsWith(github.ref, 'refs/tags/')
103
127
steps :
@@ -116,6 +140,11 @@ jobs:
116
140
with :
117
141
name : Windows
118
142
path : _release
143
+ - name : Download Linux-ARM64 artifact
144
+ uses : actions/download-artifact@v3
145
+ with :
146
+ name : Linux-ARM64
147
+ path : _release
119
148
- name : Hash and sign assets
120
149
shell : bash
121
150
env :
You can’t perform that action at this time.
0 commit comments