Skip to content

Update readme.md

Update readme.md #5

Workflow file for this run

name: Rust
on:
push:
branches:
- main
jobs:
quickcheck:
runs-on: ubuntu-latest
container:
image: ghcr.io/gtk-rs/gtk4-rs/gtk4:latest
outputs:
version: ${{ steps.rustversion.outputs.rustversion }}
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: cargo check
- run: cargo pkgid
- run: 'echo "$(cargo pkgid | cut -d# -f2)"'
- id: rustversion
run: 'echo "::set-output name=rustversion::$(cargo pkgid | cut -d# -f2)"'
build:
needs: quickcheck
name: 'build-${{matrix.os}}'
runs-on: ${{ matrix.os }}
container:
image: ghcr.io/gtk-rs/gtk4-rs/gtk4:latest
strategy:
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Build
run: cargo build
- name: Run tests
run: cargo test
debbuild:
needs: [build]
runs-on: ubuntu-latest
container:
image: ghcr.io/gtk-rs/gtk4-rs/gtk4:latest
name: Amd64Deb
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: InstallCargoDeb
run: cargo install cargo-deb
- name: BuildDeb
id: debbuild
run: cargo deb
- name: Upload Deb Artifact
uses: actions/upload-artifact@v2
with:
name: amd64deb
path: ./target/debian/*