Skip to content

Merge pull request #56 from ckcr4lyf/feature/update-redis-rs #28

Merge pull request #56 from ckcr4lyf/feature/update-redis-rs

Merge pull request #56 from ckcr4lyf/feature/update-redis-rs #28

Workflow file for this run

on:
push:
branches: ['master']
name: Master - Build, Unit Test, Integration test
jobs:
integration-tests:
uses: ./.github/workflows/integration_test.yml
build-static:
name: Build Static
needs: integration-tests
runs-on: ubuntu-latest
steps:
- name: Install musl-gcc
run: sudo apt-get install -y musl-tools
- name: Checkout sources
uses: actions/checkout@v3
- name: Add musl target
run: rustup target add x86_64-unknown-linux-musl
- name: Build static binary
run: cargo build --target=x86_64-unknown-linux-musl --release
- name: Check linkage
run: ldd ./target/x86_64-unknown-linux-musl/release/kiryuu
- uses: actions/upload-artifact@v3
with:
name: kiryuu-static-${{ github.sha }}
path: ./target/x86_64-unknown-linux-musl/release/kiryuu