Skip to content

ci build

ci build #2

Workflow file for this run

name: Rust-static-build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
BUILD_TARGET: x86_64-unknown-linux-musl
BINARY_NAME: libpam-authramp
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build-musl
uses: gmiam/rust-musl-action@master
with:
args: cargo build --target $BUILD_TARGET --release
- uses: actions/upload-artifact@v2
with:
name: ${{ env.BINARY_NAME }}
path: target/x86_64-unknown-linux-musl/release/${{ env.BINARY_NAME }}*