File tree Expand file tree Collapse file tree 1 file changed +21
-4
lines changed Expand file tree Collapse file tree 1 file changed +21
-4
lines changed Original file line number Diff line number Diff line change 11on :
2- # pull_request:
2+ # pull_request:
33 workflow_dispatch :
44 schedule :
55 - cron : " 0 9 * * *"
@@ -12,18 +12,35 @@ permissions: {}
1212jobs :
1313 build :
1414 name : build and package nightly release
15- runs-on : [self-hosted, Linux, ARM64 ]
15+ runs-on : [ubuntu-22.04-arm ]
1616 timeout-minutes : 110
1717
1818 steps :
1919 - uses : actions/checkout@v4
2020
21- - name : Update PATH to use zig 13
21+ - uses : mlugg/setup-zig@475c97be87a204e6c57fe851f970bd02005a70f0
22+ with :
23+ version : 0.13.0
24+
25+ - name : install apt dependencies
2226 run : |
23- echo "PATH=/home/username/Downloads/zig-linux-aarch64-0.13.0:$PATH" >> $GITHUB_ENV
27+ sudo apt -y install wget git
28+ sudo apt -y install libunwind-dev pkg-config zlib1g-dev
29+ sudo apt -y install unzip # for www/build.sh
30+ sudo apt -y install lsb-release software-properties-common gnupg # for llvm
2431
2532 - run : zig version
2633
34+ - name : install llvm
35+ run : |
36+ wget https://apt.llvm.org/llvm.sh
37+ chmod +x llvm.sh
38+ sudo ./llvm.sh 18
39+ sudo rm -rf /usr/bin/clang
40+ sudo ln -s /usr/bin/clang-18 /usr/bin/clang
41+ sudo ln -s /usr/bin/lld-18 /usr/bin/ld.lld
42+ sudo apt -y install libpolly-18-dev # required by llvm-sys crate
43+
2744 - name : create version.txt
2845 run : ./ci/write_version.sh
2946
You can’t perform that action at this time.
0 commit comments