-
Notifications
You must be signed in to change notification settings - Fork 27
54 lines (43 loc) · 1.91 KB
/
windows_ci.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
name: CI
on: workflow_dispatch
jobs:
build:
name: Windows CI
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.22.0'
- name: Get dependencies
run: flutter pub get
- name: Build Windows
run: flutter build windows
- name: Download dll
run: |
mkdir -p build\tmp
mkdir -p build\windows\x64\runner\Release\BASS
# download BASS add-ons from UN4SEEN
curl -o bass.zip https://www.un4seen.com/files/bass24.zip
curl -o bassape24.zip https://www.un4seen.com/files/bassape24.zip
curl -o bassdsd24.zip https://www.un4seen.com/files/bassdsd24.zip
curl -o bassflac24.zip https://www.un4seen.com/files/bassflac24.zip
curl -o bassmidi24.zip https://www.un4seen.com/files/bassmidi24.zip
curl -o bassopus24.zip https://www.un4seen.com/files/bassopus24.zip
curl -o basswv24.zip https://www.un4seen.com/files/basswv24.zip
Expand-Archive -Path bass.zip -DestinationPath build\tmp -Force
Expand-Archive -Path bassape24.zip -DestinationPath build\tmp -Force
Expand-Archive -Path bassdsd24.zip -DestinationPath build\tmp -Force
Expand-Archive -Path bassflac24.zip -DestinationPath build\tmp -Force
Expand-Archive -Path bassmidi24.zip -DestinationPath build\tmp -Force
Expand-Archive -Path bassopus24.zip -DestinationPath build\tmp -Force
Expand-Archive -Path basswv24.zip -DestinationPath build\tmp -Force
# mv build\tmp\x64\* build\windows\x64\runner\Release\
mv build\tmp\x64\* build\windows\x64\runner\Release\BASS\
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: "Coriander Player Test Version"
path: build\windows\x64\runner\Release\*