Chat #10
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: Chat | |
on: | |
workflow_dispatch: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
target: | |
[ | |
x86_64-unknown-linux-musl, | |
x86_64-pc-windows-gnu, | |
i686-pc-windows-gnu, | |
] | |
steps: | |
- name: add gtk | |
run: sudo apt-get install -y libgtk-3-dev libglib2.0-dev | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: 1.70.0 | |
target: ${{ matrix.target }} | |
- uses: ClementTsang/[email protected] | |
with: | |
command: build | |
args: --release --target=${{ matrix.target }} | |
use-cross: true | |
directory: "./chat" |