mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 20:47:01 +01:00
51 lines
1.4 KiB
YAML
51 lines
1.4 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 latest stable
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: stable
|
|
default: true
|
|
components: cargo
|
|
- name: build
|
|
uses: actions-rs/cargo@v1
|
|
with:
|
|
command: build
|
|
args: --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 latest stable
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: stable
|
|
default: true
|
|
components: cargo
|
|
- name: Run cargo test
|
|
uses: actions-rs/cargo@v1
|
|
with:
|
|
command: test
|
|
args: -p kanidm_client -p kanidm_tools -p orca -p daemon -p score
|