Skip to content

build(deps): bump setuptools from 75.3.0 to 75.4.0 in /plugins/apel #3420

build(deps): bump setuptools from 75.3.0 to 75.4.0 in /plugins/apel

build(deps): bump setuptools from 75.3.0 to 75.4.0 in /plugins/apel #3420

Workflow file for this run

name: RPM
on:
pull_request:
push:
branches:
- main
tags:
- v*
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: RPM build
runs-on: ubuntu-latest
strategy:
matrix:
binary:
- auditor
- auditor-slurm-epilog-collector
- auditor-slurm-collector
- auditor-priority-plugin
env:
SQLX_OFFLINE: true
CARGO_GET_VERSION: 1
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-unknown-linux-musl
- name: Cache dependencies
uses: Swatinem/rust-cache@v2
with:
prefix-key: cache-dependencies
- name: Cache cargo-get
id: cache_cargo_get
uses: Swatinem/rust-cache@v2
with:
prefix-key: cache-cargo-get
key: ${{ runner.os }}-cargo-get-${{ env.CARGO_GET_VERSION }}
cache-directories: |
~/.cargo/bin/cargo-get
- name: Install cargo-get
run: cargo install cargo-get --version ~${{ env.CARGO_GET_VERSION }} --locked
- name: Install musl and rpm
run: |
sudo apt-get install musl musl-tools rpm
- name: Build binary
run: cargo build --bin ${{ matrix.binary }} --target x86_64-unknown-linux-musl --release
- name: Build RPM
run: |
BINARY=${{ matrix.binary }} ./scripts/build_rpm.sh
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.binary }}
path: target/rpm/${{ matrix.binary }}/rpmbuild/RPMS/x86_64/*.rpm
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: target/rpm/${{ matrix.binary }}/rpmbuild/RPMS/x86_64/*.rpm