Skip to content
Open
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
20 changes: 10 additions & 10 deletions .github/workflows/apt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
strategy:
fail-fast: false
matrix:
dist: ${{ fromJSON(vars.BUILD_DISTS) }}
arch: ${{ fromJSON(vars.BUILD_ARCHS) }}
exclude: ${{ fromJSON(vars.BUILD_EXCLUDE) }}
dist: ${{ fromJSON(inputs.dists || vars.BUILD_DISTS || '["bookworm","jammy","noble"]') }}
arch: ${{ fromJSON(inputs.archs || vars.BUILD_ARCHS || '["amd64","arm64"]') }}
exclude: ${{ fromJSON(inputs.exclude || vars.BUILD_EXCLUDE || '[]') }}
steps:
- uses: actions/checkout@v4
with:
ref: unstable
ref: ${{ inputs.ref || github.ref }}
- name: Install dependencies
run: |
sudo apt-get update && \
Expand Down Expand Up @@ -72,14 +72,14 @@ jobs:
strategy:
fail-fast: false
matrix:
dist: ${{ fromJSON(vars.BUILD_DISTS) }}
arch: ${{ fromJSON(vars.BUILD_ARCHS) }}
exclude: ${{ fromJSON(vars.BUILD_EXCLUDE) }}
dist: ${{ fromJSON(inputs.dists || vars.BUILD_DISTS || '["bookworm","jammy","noble"]') }}
arch: ${{ fromJSON(inputs.archs || vars.BUILD_ARCHS || '["amd64","arm64"]') }}
exclude: ${{ fromJSON(inputs.exclude || vars.BUILD_EXCLUDE || '[]') }}
needs: build-source-package
steps:
- uses: actions/checkout@v4
with:
ref: unstable
ref: ${{ inputs.ref || github.ref }}
- name: Determine build architecture
run: |
case ${{ matrix.arch }} in
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
--build ${{ env.BUILD_ARCH }} \
--dist ${{ matrix.dist }} \
--build-dep-resolver=apt \
--chroot-setup-commands="apt-get update && apt-get install -y build-essential" \
--chroot-setup-commands="apt-get update && apt-get install -y build-essential curl ca-certificates && sh -c 'curl -LsSf https://astral.sh/uv/install.sh | sh' && install -m 0755 -D /root/.local/bin/uv /usr/local/bin/uv" \
*.dsc
- name: Upload binary package artifact
uses: actions/upload-artifact@v4
Expand All @@ -135,7 +135,7 @@ jobs:
strategy:
fail-fast: false
matrix:
image: ${{ fromJSON(vars.SMOKE_TEST_IMAGES) }}
image: ${{ fromJSON(vars.SMOKE_TEST_IMAGES || '["ubuntu:22.04"]') }}
arch: [amd64, arm64]
container: ${{ matrix.image }}
steps:
Expand Down
Loading