This commit is contained in:
Ashcon Mohseninia 2022-09-10 22:22:24 +01:00
commit ef97303159
1 changed files with 25 additions and 0 deletions

View File

@ -32,4 +32,29 @@ jobs:
with:
name: config-app-appimage
path: config_app/*.AppImage
Windows-App:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: ilammy/msvc-dev-cmd@v1
with:
arch: win32
- name: Install Rustup using win.rustup.rs
run: |
$ProgressPreference = "SilentlyContinue"
Invoke-WebRequest https://win.rustup.rs/ -OutFile rustup-init.exe
.\rustup-init.exe -y --default-host=i686-pc-windows-msvc --default-toolchain=none
del rustup-init.exe
rustup target add i686-pc-windows-msvc
shell: powershell
- name: Build executable
working-directory: ./config_app
run: cargo build --verbose --release --target i686-pc-windows-msvc
- uses: actions/upload-artifact@v3
with:
name: config-app-exe
path: config_app/target/release/*.exe