kanidm/.github/workflows/windows_build.yml
James Hodgkinson ec8e5dfc31
more-merge unixd commands (#1568)
* fixing unix packaging
* stripping out actions-rs/toolchain
* fixing an error in the qrcode def in cargo.toml
2023-04-25 22:36:17 +10:00

39 lines
1.2 KiB
YAML

---
name: Windows Build and Test
# at the moment this only builds the kanidm client
# because @yaleman got tired but it's enough to prove
# it builds and be able to administer Kanidm from
# Windows-land
"on":
push:
jobs:
windows_build_kanidm:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: ensure openssl and vcpkg is good
run: |
vcpkg integrate install
vcpkg install openssl:x64-windows-static-md
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: build
# yamllint disable-line rule:line-length
run: cargo build --release -p kanidm_client -p kanidm_tools -p orca -p daemon
windows_test_kanidm:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: ensure openssl and vcpkg is good
run: |
vcpkg integrate install
vcpkg install openssl:x64-windows-static-md
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Run cargo test
# yamllint disable-line rule:line-length
run: cargo test -p kanidm_client -p kanidm_tools -p orca -p daemon -p kanidmd_core