Skip to content

[bndbuild] Start to work on a JsonSchema file for IDE integration or … #326

[bndbuild] Start to work on a JsonSchema file for IDE integration or …

[bndbuild] Start to work on a JsonSchema file for IDE integration or … #326

name: Linux build
on:
push:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
target: x86_64-unknown-linux-gnu
- uses: Swatinem/rust-cache@v1
- name: Dependencies
run: sudo apt update && sudo apt install libgtk-3-dev libcogl-pango-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libspeechd-dev libxkbcommon-dev libssl-dev libxdo-dev
- uses: actions-rs/cargo@v1
with:
command: build
toolchain: nightly
args: --bins --release --features hfe
- uses: actions-rs/cargo@v1
with:
command: test
toolchain: nightly
args: --features hfe
- uses: ncipollo/release-action@v1
with:
token: "${{ secrets.GITHUB_TOKEN }}"
allowUpdates: true
removeArtifacts: false
prerelease: true
draft: false
tag: latest
name: "Development Build"
generateReleaseNotes: false
artifacts: "target/x86_64-unknown-linux-gnu/release/basm, target/x86_64-unknown-linux-gnu/release/bdasm, target/x86_64-unknown-linux-gnu/release/bndbuild, target/x86_64-unknown-linux-gnu/release/catalog, target/x86_64-unknown-linux-gnu/release/cpc2img, target/x86_64-unknown-linux-gnu/release/cpclib-visual-bndbuild, target/x86_64-unknown-linux-gnu/release/visual-basm, target/x86_64-unknown-linux-gnu/release/hideur, target/x86_64-unknown-linux-gnu/release/imgconverter, target/x86_64-unknown-linux-gnu/release/snapshot"