-
Notifications
You must be signed in to change notification settings - Fork 0
executable file
·49 lines (46 loc) · 1.73 KB
/
Copy pathbuild.yml
File metadata and controls
executable file
·49 lines (46 loc) · 1.73 KB
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
name: Continous Builds
on:
push:
branches: [master]
env:
VERSION: v6.5.0
QT_VERSION: 6.7.0
QTIFW_VERSION: 4.7
jobs:
job_2:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: install qt6
run: |
pip install aqtinstall
python3 -m aqt install-qt -O ${{ github.workspace }}/Qt/ windows desktop ${{ env.QT_VERSION }} win64_msvc2019_64
python3 -m aqt install-tool -O ${{ github.workspace }}/Qt/ windows desktop tools_ifw
echo "${{ github.workspace }}/Qt/${{ env.QT_VERSION }}/msvc2019_64/bin/" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
echo "${{ github.workspace }}/Qt/Tools/QtInstallerFramework/${{ env.QTIFW_VERSION }}/bin/" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: build
shell: cmd
run: |
choco install wget --no-progress
cd .\FastTrack\packages\FastTrack\data
rm placeholder
wget https://github.com/FastTrackOrg/FastTrack/releases/download/${{ env.VERSION }}/FastTrack.zip
7z x FastTrack.zip -y
rm FastTrack.zip
7z a data.7z * -sdel
cd ${{ github.workspace }}
repogen.exe -p .\FastTrack\packages FastTrackRep
binarycreator.exe -p .\FastTrack\packages -c .\FastTrack\config\config.xml FastTrackInstaller
- name: Windows artefact
uses: actions/upload-artifact@v4
with:
name: FastTrackInstaller
path: ./FastTrackInstaller.exe
- name: Windows artefact
uses: actions/upload-artifact@v4
with:
name: FastTrackRep
path: ./FastTrackRep