-
-
Notifications
You must be signed in to change notification settings - Fork 8
89 lines (85 loc) · 2.07 KB
/
nightly.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
name: Nightly
on:
workflow_dispatch:
schedule:
- cron: 0 23 * * *
jobs:
windows-release:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Build
shell: cmd
run: |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
./build.bat release all
- name: Prepare package
shell: powershell
run: |
mkdir dist
cp -r lib dist
cp -r bin dist
cp -r syntax dist
cp -r docs/side dist/docs
cp CHANGELOG.txt dist
cp LEGAL dist
cp LICENSE dist
cp README.md dist
- uses: actions/upload-artifact@v4
with:
name: blc-nightly-x86_64-windows
path: dist
linux-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Download LLVM
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 18
- name: Build
run: |
./build.sh release all
- name: Prepare package
run: |
mkdir dist
cp -r lib dist
cp -r bin dist
cp -r syntax dist
cp -r docs/side dist/docs
cp CHANGELOG.txt dist
cp LEGAL dist
cp LICENSE dist
cp README.md dist
- uses: actions/upload-artifact@v4
with:
name: blc-nightly-x86_64-linux
path: dist
macos-release:
runs-on: macOS-14
steps:
- uses: actions/checkout@v2
- name: Download LLVM
run: |
brew install llvm@18 zlib ncurses
TMP_PATH=$(xcrun --show-sdk-path)/user/include
echo "CPATH=$TMP_PATH" >> $GITHUB_ENV
- name: Build
run: |
./build.sh release all
- name: Prepare package
run: |
mkdir dist
cp -r lib dist
cp -r bin dist
cp -r syntax dist
cp -r docs/side dist/docs
cp CHANGELOG.txt dist
cp LEGAL dist
cp LICENSE dist
cp README.md dist
- uses: actions/upload-artifact@v4
with:
name: blc-nightly-arm64-macos
path: dist