Skip to content

Merge pull request #52 from ckcr4lyf/feature/tracing-v2 #27

Merge pull request #52 from ckcr4lyf/feature/tracing-v2

Merge pull request #52 from ckcr4lyf/feature/tracing-v2 #27

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