2022-05-31 06:13:21 +02:00
|
|
|
---
|
|
|
|
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
|
2023-04-25 14:36:17 +02:00
|
|
|
- name: Install Rust
|
|
|
|
uses: dtolnay/rust-toolchain@stable
|
2022-05-31 06:13:21 +02:00
|
|
|
- name: build
|
2023-04-25 14:36:17 +02:00
|
|
|
# yamllint disable-line rule:line-length
|
|
|
|
run: cargo build --release -p kanidm_client -p kanidm_tools -p orca -p daemon
|
2022-05-31 06:13:21 +02:00
|
|
|
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
|
2023-04-25 14:36:17 +02:00
|
|
|
- name: Install Rust
|
|
|
|
uses: dtolnay/rust-toolchain@stable
|
2022-05-31 06:13:21 +02:00
|
|
|
- name: Run cargo test
|
2023-04-25 14:36:17 +02:00
|
|
|
# yamllint disable-line rule:line-length
|
|
|
|
run: cargo test -p kanidm_client -p kanidm_tools -p orca -p daemon -p kanidmd_core
|