mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 16:43:03 +01:00
Fix Windows installer automation.
This commit is contained in:
parent
5ee81a4eb0
commit
9d6bd05f25
17
.github/workflows/main.yml
vendored
17
.github/workflows/main.yml
vendored
@ -213,6 +213,19 @@ jobs:
|
||||
- name: Get Release Notes
|
||||
uses: ./.github/actions/get-release-notes
|
||||
|
||||
- name: Build x86 for client package in x64
|
||||
id: build-x86
|
||||
shell: cmd
|
||||
if: ${{ matrix.platform == 'x64' }}
|
||||
env:
|
||||
PLATFORM: ${{ matrix.platform }}
|
||||
run: |
|
||||
echo arch_suffix=%PLATFORM%>> %GITHUB_OUTPUT%
|
||||
mkdir builds\install_images
|
||||
cd builds\docker\windows
|
||||
call build.bat
|
||||
call run.bat C:\fbscripts\build-x86.bat
|
||||
|
||||
- name: Build
|
||||
id: build
|
||||
shell: cmd
|
||||
@ -257,8 +270,8 @@ jobs:
|
||||
Firebird-*-windows-${{ steps.build.outputs.arch_suffix }}*.exe
|
||||
Firebird-*-windows-${{ steps.build.outputs.arch_suffix }}*.zip
|
||||
uploadFiles: |
|
||||
builds/install_images/Firebird-*-windows-*.exe
|
||||
builds/install_images/Firebird-*-windows-*.zip
|
||||
builds/install_images/Firebird-*-windows-${{ matrix.platform }}-*.exe
|
||||
builds/install_images/Firebird-*-windows-${{ matrix.platform }}-*.zip
|
||||
|
||||
build-macos:
|
||||
runs-on: macos-12
|
||||
|
@ -40,11 +40,13 @@ RUN `
|
||||
choco install --no-progress --yes git --version=2.33.1 && `
|
||||
choco install --no-progress --yes 7zip.install --version=19.0 && `
|
||||
choco install --no-progress --yes innosetup --version=6.1.2 && `
|
||||
choco install --no-progress --yes wixtoolset --version=3.11.2 && `
|
||||
`
|
||||
refreshenv && `
|
||||
setx PATH "%PATH%;C:\Program Files\Git\usr\bin"
|
||||
|
||||
ENV SEVENZIP='C:\Program Files\7-Zip'
|
||||
ENV INNO6_SETUP_PATH='C:\Program Files (x86)\Inno Setup 6'
|
||||
ENV WIX='C:\Program Files (x86)\WiX Toolset v3.11'
|
||||
|
||||
COPY scripts\* C:\fbscripts\
|
||||
|
@ -12,3 +12,4 @@ call run_all.bat PDB
|
||||
call run_tests.bat
|
||||
|
||||
copy C:\firebird-build\builds\install_images\* C:\firebird\builds\install_images
|
||||
xcopy /h /e /i /q C:\firebird-build\output_Win32_release C:\firebird\output_Win32_release
|
||||
|
Loading…
Reference in New Issue
Block a user