Test add Windows workflow

This commit is contained in:
Ashcon Mohseninia (RAND_ASH) 2022-09-10 22:08:15 +01:00 committed by GitHub
parent 8df7542326
commit cc39752271
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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