Skip to content

Fix a test that was not compiling #348

Fix a test that was not compiling

Fix a test that was not compiling #348

name: Linux build
on:
push:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- 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 libwebkit2gtk-4.1-dev curl wget file libxdo-dev libssl-dev libayatana-appindicator3-dev librsvg2-dev
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
target: x86_64-unknown-linux-gnu
- uses: Swatinem/rust-cache@v2
- 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: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
projectPath: "cpclib-bndbuild-tauri/"
- 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/release/basm, target/release/bdasm, target/release/bndbuild, target/release/catalog, target/release/cpc2img, target/release/cpclib-visual-bndbuild, target/release/visual-basm, target/release/hideur, target/release/imgconverter, target/release/snapshot target/release/bundle/appimage/bndbuild-tauri_*_amd64.AppImage"