Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
203 changes: 0 additions & 203 deletions .cirrus.yml

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: coverage
on:
push:
tags:
- v*
branches:
- main
pull_request:
permissions: {}

jobs:

coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y gcovr libglib2.0-dev libseccomp-dev libsystemd-dev pkg-config bats socat
- name: Run coverage
run: |
sudo mkdir -p /var/run/crio
sudo make test-coverage

all-done:
needs:
- coverage
runs-on: ubuntu-latest
steps:
- run: echo "All jobs completed"
1 change: 1 addition & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
branches:
- main
pull_request:
permissions: {}

jobs:

Expand Down
60 changes: 60 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: static-binary
on:
push:
tags:
- v*
workflow_dispatch:
permissions: {}

jobs:

static-binary:
runs-on: ubuntu-latest
timeout-minutes: 360
strategy:
fail-fast: false
matrix:
include:
- name: amd64
target: default.nix
- name: arm64
target: default-arm64.nix
- name: ppc64le
target: default-ppc64le.nix
- name: riscv64
target: default-riscv64.nix
- name: s390x
target: default-s390x.nix
steps:
- uses: actions/checkout@v6
- name: Install podman
run: |
sudo apt-get update
sudo apt-get install -y podman
- name: Build static ${{ matrix.name }} binary
env:
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}
TARGET: ${{ matrix.target }}
run: |
podman run -i --rm \
-e CACHIX_AUTH_TOKEN \
-v "$PWD:$PWD:Z" \
-w "$PWD" \
docker.io/nixos/nix:2.15.0 \
sh -c \
"nix-env -iA cachix -f https://cachix.org/api/v1/install && \
cachix use conmon && \
nix-build nix/$TARGET && \
nix-store -qR --include-outputs \$(nix-instantiate nix/$TARGET) | grep -v conmon | cachix push conmon && \
cp -R result/bin ."
- uses: actions/upload-artifact@v4
with:
name: conmon-${{ matrix.name }}
path: bin/conmon

all-done:
needs:
- static-binary
runs-on: ubuntu-latest
steps:
- run: echo "All jobs completed"
3 changes: 1 addition & 2 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ on:
- main
- release-*
pull_request:
permissions:
contents: read
permissions: {}

jobs:

Expand Down