test #147
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "build" | |
on: | |
- push | |
jobs: | |
build_windows_gui: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Setup MSYS2 | |
uses: msys2/setup-msys2@v2 | |
with: | |
msystem: ucrt64 | |
update: true | |
install: >- | |
base-devel | |
pacboy: >- | |
libadwaita:p | |
rust:p | |
pkg-config:p | |
- name: Install just | |
shell: msys2 {0} | |
run: | | |
mkdir ~/.cargo | |
cargo install --root "$HOME/.cargo" just | |
printf "\nexport PATH=\"$HOME/.cargo/bin:\$PATH\"\n" >> ~/.bashrc | |
~/.cargo/bin/just --version | |
- name: Build gui | |
shell: msys2 {0} | |
run: | | |
just --version | |
./packaging/windows/build.sh | |
- name: Build installer | |
run: | | |
& "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" ".\packaging\windows\setup.iss" | |
- name: Move to artifacts directory | |
run: | | |
New-Item -Type Directory -Path artifacts | |
Move-Item .\packaging\windows\Output\OpenSCQ30_Setup.exe artifacts\openscq30_gui_setup-windows-x86_64.exe | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: windows-gui | |
path: artifacts/* |