Skip to content

feat: Support centos #10

feat: Support centos

feat: Support centos #10

Workflow file for this run

name: default
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Run rustfmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --check
release:
needs: [lint]
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build jail
run: |
scripts/build-binaries.sh ubuntu18.04
scripts/build-binaries.sh ubuntu20.04
scripts/build-binaries.sh ubuntu22.04
scripts/build-binaries.sh alpine3.17
scripts/build-binaries.sh alpine3.18
- name: Release to GitHub
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
files: |
dist/*.bin