mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 12:37:00 +01:00
Bumps the all group with 1 update: [mozilla-actions/sccache-action](https://github.com/mozilla-actions/sccache-action). Updates `mozilla-actions/sccache-action` from 0.0.6 to 0.0.7 - [Release notes](https://github.com/mozilla-actions/sccache-action/releases) - [Commits](https://github.com/mozilla-actions/sccache-action/compare/v0.0.6...v0.0.7) --- updated-dependencies: - dependency-name: mozilla-actions/sccache-action dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
37 lines
959 B
YAML
37 lines
959 B
YAML
---
|
|
name: Windows Build and Test
|
|
|
|
# Trigger the workflow on push to master or pull request
|
|
"on":
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
workflow_dispatch: # so you can run it manually
|
|
env:
|
|
SCCACHE_GHA_ENABLED: "true"
|
|
RUSTC_WRAPPER: "sccache"
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
windows_build_kanidm:
|
|
runs-on: windows-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Install OpenSSL
|
|
run: |
|
|
vcpkg integrate install
|
|
vcpkg install openssl:x64-windows-static-md
|
|
- name: Install Rust
|
|
uses: dtolnay/rust-toolchain@stable
|
|
- name: Setup sccache
|
|
uses: mozilla-actions/sccache-action@v0.0.7
|
|
with:
|
|
version: "v0.4.2"
|
|
- run: cargo build -p kanidm_client -p kanidm_tools --bin kanidm
|
|
# yamllint disable-line rule:line-length
|
|
- run: cargo test -p kanidm_client -p kanidm_tools
|