Skip to content

???

??? #149

Workflow file for this run

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: |
command -v cargo
mkdir ~/.cargo
cargo install --root "$HOME/.cargo" just
printf "\nexport PATH=\"$HOME/.cargo/bin:\$PATH\"\n" >> ~/.bashrc
cat ~/.bashrc
~/.cargo/bin/just --version
- name: Build gui
shell: msys2 {0}
run: |
export PATH="$HOME/.cargo/bin:$PATH"
echo $PATH
ls ~/.cargo/bin
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/*