Test add Windows workflow
This commit is contained in:
parent
8df7542326
commit
cc39752271
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue