Update push-build-check.yml
parent
011fc3e3e8
commit
92b1f422fb
|
|
@ -15,27 +15,12 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Cache Primes
|
- name: install qt static
|
||||||
id: cache-primes
|
uses: orestonce/install-qt-static@v0.3.0
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
with:
|
||||||
path: qt-static/
|
version: Qt5.6.3-Windows-x86-MinGW4.9.4-staticFull-20200104
|
||||||
key: ${{ runner.os }}_qt-static
|
dir: qt_static_install
|
||||||
|
|
||||||
# Runs a set of commands using the runners shell
|
|
||||||
- name: Run a multi-line script
|
|
||||||
if: steps.cache-primes.outputs.cache-hit != 'true'
|
|
||||||
run: |
|
|
||||||
mkdir download/
|
|
||||||
curl -L https://github.com/orestonce/action/releases/download/qt-static5.6.3/Qt5.6.3-Windows-x86-MinGW4.9.4-staticFull-20200104-ManualPatchSslLib.7z -o download/Qt5.6.3-Windows-x86-MinGW4.9.4-staticFull-20200104-ManualPatchSslLib.7z
|
|
||||||
curl -L https://github.com/orestonce/action/releases/download/qt-static5.6.3/i686-4.9.4-release-posix-dwarf-rt_v5-rev0.7z -o download/i686-4.9.4-release-posix-dwarf-rt_v5-rev0.7z
|
|
||||||
7z x download/Qt5.6.3-Windows-x86-MinGW4.9.4-staticFull-20200104-ManualPatchSslLib.7z
|
|
||||||
7z x download/i686-4.9.4-release-posix-dwarf-rt_v5-rev0.7z
|
|
||||||
mkdir qt-static
|
|
||||||
move Qt5.6.3-Windows-x86-MinGW4.9.4-staticFull-20200104 qt-static\
|
|
||||||
move mingw32 qt-static\
|
|
||||||
rm -Force -r .\download\
|
|
||||||
- name: Setup Go environment
|
- name: Setup Go environment
|
||||||
uses: actions/setup-go@v3.2.1
|
uses: actions/setup-go@v3.2.1
|
||||||
with:
|
with:
|
||||||
|
|
@ -43,8 +28,6 @@ jobs:
|
||||||
go-version: 1.18 # optional
|
go-version: 1.18 # optional
|
||||||
- name: set env
|
- name: set env
|
||||||
run: |
|
run: |
|
||||||
$env:Path="$PWD\qt-static\Qt5.6.3-Windows-x86-MinGW4.9.4-staticFull-20200104\bin;$PWD\qt-static\mingw32\bin;$env:Path"
|
|
||||||
qt-static\Qt5.6.3-Windows-x86-MinGW4.9.4-staticFull-20200104\QQtPatcher.exe
|
|
||||||
go mod tidy
|
go mod tidy
|
||||||
go run export/main.go check-only
|
go run export/main.go check-only
|
||||||
cd m3u8d-qt && qmake && mingw32-make release && cd ..
|
cd m3u8d-qt && qmake && mingw32-make release && cd ..
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue