mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 20:47:01 +01:00
Changing build targets for debs (#2076)
* changing build targets for debs * Updating github actions version for checkout
This commit is contained in:
parent
2f312e6b2d
commit
66089f6426
2
.github/workflows/clippy.yml
vendored
2
.github/workflows/clippy.yml
vendored
|
@ -19,7 +19,7 @@ jobs:
|
||||||
clippy:
|
clippy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Setup sccache
|
- name: Setup sccache
|
||||||
uses: mozilla-actions/sccache-action@v0.0.3
|
uses: mozilla-actions/sccache-action@v0.0.3
|
||||||
with:
|
with:
|
||||||
|
|
2
.github/workflows/codespell.yml
vendored
2
.github/workflows/codespell.yml
vendored
|
@ -11,7 +11,7 @@ jobs:
|
||||||
codespell:
|
codespell:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
clean: false
|
clean: false
|
||||||
|
|
26
.github/workflows/debian_package_kanidm.yml
vendored
26
.github/workflows/debian_package_kanidm.yml
vendored
|
@ -19,10 +19,8 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
image:
|
image:
|
||||||
- ubuntu:22.04
|
- ubuntu:22.04
|
||||||
- ubuntu:20.04
|
- debian:12
|
||||||
- ubuntu:18.04
|
fail-fast: false
|
||||||
- debian:11
|
|
||||||
- debian:10
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: ${{ matrix.image }}
|
image: ${{ matrix.image }}
|
||||||
|
@ -30,7 +28,7 @@ jobs:
|
||||||
DEBIAN_FRONTEND: noninteractive
|
DEBIAN_FRONTEND: noninteractive
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: install curl
|
- name: install curl
|
||||||
run: |
|
run: |
|
||||||
apt-get update && apt-get install -y curl
|
apt-get update && apt-get install -y curl
|
||||||
|
@ -43,24 +41,10 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
scripts/install_ubuntu_dependencies.sh
|
scripts/install_ubuntu_dependencies.sh
|
||||||
# apt-get update && \
|
|
||||||
# apt-get install -y \
|
|
||||||
# lsb-release \
|
|
||||||
# libpam0g-dev \
|
|
||||||
# libudev-dev \
|
|
||||||
# libssl-dev \
|
|
||||||
# libsqlite3-dev \
|
|
||||||
# pkg-config \
|
|
||||||
# make \
|
|
||||||
# curl \
|
|
||||||
# sudo \
|
|
||||||
# build-essential \
|
|
||||||
# rsync
|
|
||||||
- name: Install wasm-pack
|
- name: Install wasm-pack
|
||||||
run: cargo install wasm-pack
|
run: cargo install wasm-pack
|
||||||
- name: Build packages
|
- name: Build packages (kanidm-unixd)
|
||||||
run: |
|
run: make -f platform/debian/Makefile debs/kanidm-unixd
|
||||||
make -f platform/debian/Makefile debs/all
|
|
||||||
- name: Upload debs
|
- name: Upload debs
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|
2
.github/workflows/dependabot_auto_merge.yml
vendored
2
.github/workflows/dependabot_auto_merge.yml
vendored
|
@ -20,7 +20,7 @@ jobs:
|
||||||
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
alert-lookup: true
|
alert-lookup: true
|
||||||
compat-lookup: true
|
compat-lookup: true
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Enable auto-merge for Dependabot PRs
|
- name: Enable auto-merge for Dependabot PRs
|
||||||
run: gh pr merge --auto --squash "$PR_URL"
|
run: gh pr merge --auto --squash "$PR_URL"
|
||||||
env:
|
env:
|
||||||
|
|
2
.github/workflows/dependency_review.yml
vendored
2
.github/workflows/dependency_review.yml
vendored
|
@ -16,6 +16,6 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: 'Checkout Repository'
|
- name: 'Checkout Repository'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: 'Dependency Review'
|
- name: 'Dependency Review'
|
||||||
uses: actions/dependency-review-action@v3
|
uses: actions/dependency-review-action@v3
|
||||||
|
|
2
.github/workflows/docker_build_kanidm.yml
vendored
2
.github/workflows/docker_build_kanidm.yml
vendored
|
@ -16,7 +16,7 @@ jobs:
|
||||||
name: Build kanidm Docker image
|
name: Build kanidm Docker image
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v2
|
||||||
- name: Build kanidm
|
- name: Build kanidm
|
||||||
|
|
2
.github/workflows/docker_build_kanidmd.yml
vendored
2
.github/workflows/docker_build_kanidmd.yml
vendored
|
@ -16,7 +16,7 @@ jobs:
|
||||||
name: Build kanidmd Docker image
|
name: Build kanidmd Docker image
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v2
|
||||||
- name: Build kanidmd
|
- name: Build kanidmd
|
||||||
|
|
2
.github/workflows/docker_build_radiusd.yml
vendored
2
.github/workflows/docker_build_radiusd.yml
vendored
|
@ -16,7 +16,7 @@ jobs:
|
||||||
name: Build radius Docker image
|
name: Build radius Docker image
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v2
|
uses: docker/setup-qemu-action@v2
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
|
|
4
.github/workflows/kanidm_book.yml
vendored
4
.github/workflows/kanidm_book.yml
vendored
|
@ -32,7 +32,7 @@ jobs:
|
||||||
outputs:
|
outputs:
|
||||||
latest: ${{ steps.branchname.outputs.latest }}
|
latest: ${{ steps.branchname.outputs.latest }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Latest branch
|
- name: Latest branch
|
||||||
|
@ -87,7 +87,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Setup Pages
|
- name: Setup Pages
|
||||||
uses: actions/configure-pages@v3
|
uses: actions/configure-pages@v3
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Download base artifact
|
- name: Download base artifact
|
||||||
|
|
2
.github/workflows/kanidm_individual_book.yml
vendored
2
.github/workflows/kanidm_individual_book.yml
vendored
|
@ -20,7 +20,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.tag }}
|
ref: ${{ inputs.tag }}
|
||||||
- name: Setup sccache
|
- name: Setup sccache
|
||||||
|
|
2
.github/workflows/pykanidm.yml
vendored
2
.github/workflows/pykanidm.yml
vendored
|
@ -13,7 +13,7 @@ jobs:
|
||||||
tests:
|
tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
||||||
- name: Install poetry
|
- name: Install poetry
|
||||||
|
|
2
.github/workflows/rust_build.yml
vendored
2
.github/workflows/rust_build.yml
vendored
|
@ -18,7 +18,7 @@ jobs:
|
||||||
rust_build:
|
rust_build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
- name: Setup sccache
|
- name: Setup sccache
|
||||||
|
|
2
.github/workflows/wasm_test.yml
vendored
2
.github/workflows/wasm_test.yml
vendored
|
@ -15,7 +15,7 @@ jobs:
|
||||||
wasm_test:
|
wasm_test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
# - name: Check arch
|
# - name: Check arch
|
||||||
# run: |
|
# run: |
|
||||||
# uname -a
|
# uname -a
|
||||||
|
|
2
.github/workflows/windows_build.yml
vendored
2
.github/workflows/windows_build.yml
vendored
|
@ -20,7 +20,7 @@ jobs:
|
||||||
windows_build_kanidm:
|
windows_build_kanidm:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Install OpenSSL
|
- name: Install OpenSSL
|
||||||
run: |
|
run: |
|
||||||
vcpkg integrate install
|
vcpkg integrate install
|
||||||
|
|
Loading…
Reference in a new issue