mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 12:37:00 +01:00
Fixing the CI failures (#1080)
This commit is contained in:
parent
07e132d1d9
commit
446e06d5f6
13
.github/workflows/clippy.yml
vendored
13
.github/workflows/clippy.yml
vendored
|
@ -2,7 +2,12 @@
|
|||
name: Clippy
|
||||
|
||||
# Trigger the workflow on push or pull request
|
||||
"on": [push, pull_request]
|
||||
"on":
|
||||
push:
|
||||
branches-ignore:
|
||||
- master
|
||||
pull_request:
|
||||
|
||||
|
||||
jobs:
|
||||
clippy:
|
||||
|
@ -26,7 +31,11 @@ jobs:
|
|||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
override: true
|
||||
default: true
|
||||
|
||||
- name: "Run clippy (ignores errors, this is just a check)"
|
||||
run: cargo clippy --no-deps
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: clippy
|
||||
continue-on-error: true
|
||||
|
|
6
.github/workflows/debian_package_kanidm.yml
vendored
6
.github/workflows/debian_package_kanidm.yml
vendored
|
@ -13,6 +13,12 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
override: true
|
||||
default: true
|
||||
- name: Update package manager
|
||||
run: sudo apt-get update
|
||||
- name: Install dependencies
|
||||
|
|
9
.github/workflows/rust_build.yml
vendored
9
.github/workflows/rust_build.yml
vendored
|
@ -28,5 +28,10 @@ jobs:
|
|||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
||||
override: true
|
||||
default: true
|
||||
- name: Run tests
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: build
|
||||
args: --verbose
|
||||
|
|
7
.github/workflows/rust_test.yml
vendored
7
.github/workflows/rust_test.yml
vendored
|
@ -27,5 +27,10 @@ jobs:
|
|||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
override: true
|
||||
default: true
|
||||
- name: Run tests
|
||||
run: cargo test --verbose
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
args: --release
|
||||
|
|
7
.github/workflows/wasm_test.yml
vendored
7
.github/workflows/wasm_test.yml
vendored
|
@ -27,10 +27,15 @@ jobs:
|
|||
with:
|
||||
toolchain: stable
|
||||
components: cargo
|
||||
default: true
|
||||
override: true
|
||||
# target: wasm32-unknown-unknown
|
||||
|
||||
- name: Install wasm-pack
|
||||
run: cargo install wasm-pack
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: install
|
||||
args: wasm-pack
|
||||
|
||||
# https://github.com/browser-actions/setup-chrome
|
||||
- name: Install Chrome Headless
|
||||
|
|
1
.github/workflows/windows_build.yml
vendored
1
.github/workflows/windows_build.yml
vendored
|
@ -23,6 +23,7 @@ jobs:
|
|||
with:
|
||||
toolchain: stable
|
||||
default: true
|
||||
override: true
|
||||
components: cargo
|
||||
- name: build
|
||||
uses: actions-rs/cargo@v1
|
||||
|
|
|
@ -15,7 +15,7 @@ ARG KANIDM_BUILD_PROFILE
|
|||
ARG KANIDM_BUILD_OPTIONS=""
|
||||
|
||||
RUN zypper install -y \
|
||||
cargo rust wasm-pack \
|
||||
rustup wasm-pack \
|
||||
gcc clang lld \
|
||||
make automake autoconf \
|
||||
libopenssl-devel \
|
||||
|
@ -25,6 +25,7 @@ RUN zypper install -y \
|
|||
sccache \
|
||||
rsync
|
||||
RUN zypper clean -a
|
||||
RUN rustup default stable
|
||||
|
||||
COPY . /usr/src/kanidm
|
||||
|
||||
|
|
|
@ -10,8 +10,8 @@ RUN zypper dup -y
|
|||
FROM repos AS builder
|
||||
|
||||
RUN zypper install -y \
|
||||
cargo \
|
||||
rust wasm-pack \
|
||||
rustup \
|
||||
wasm-pack \
|
||||
clang lld \
|
||||
make automake autoconf \
|
||||
libopenssl-devel pam-devel \
|
||||
|
@ -22,6 +22,7 @@ RUN zypper install -y \
|
|||
findutils \
|
||||
which
|
||||
RUN zypper clean -a
|
||||
RUN rustup default stable
|
||||
|
||||
COPY . /usr/src/kanidm
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load diff
Binary file not shown.
|
@ -14,11 +14,9 @@
|
|||
"files": [
|
||||
"kanidmd_web_ui_bg.wasm",
|
||||
"kanidmd_web_ui.js",
|
||||
"kanidmd_web_ui.d.ts",
|
||||
"LICENSE.md"
|
||||
],
|
||||
"module": "kanidmd_web_ui.js",
|
||||
"homepage": "https://github.com/kanidm/kanidm/",
|
||||
"types": "kanidmd_web_ui.d.ts",
|
||||
"sideEffects": false
|
||||
}
|
Loading…
Reference in a new issue