This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ReliabilityBuild | ||
on: | ||
workflow_dispatch: | ||
jobs: | ||
reliability-build: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: dockbuild/ubuntu1604:latest | ||
steps: | ||
- name: Checkout code | ||
run: git clone --depth=1 https://github.com/holochain/reliability.git | ||
- name: Print Glibc Version | ||
run: ldd --version ldd | ||
- name: Install Rust | ||
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --profile minimal -y | ||
- name: Build reliability | ||
run: | | ||
cd reliability | ||
PATH=~/.cargo/bin:$(pwd)/go/bin:$PATH cargo build --release | ||
- name: Print reliability ldd | ||
run: ldd reliability/target/release/reliability | ||
- name: Create Release | ||
run: curl -L -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ github.token }}" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/OWNER/REPO/releases -d '{"tag_name":"v0.0.1","target_commitish":"main","name":"v0.0.1","body":"Release v0.0.1","draft":false,"prerelease":false,"generate_release_notes":false}' | ||