mirror of
https://github.com/FliegendeWurst/tmux-thumbs.git
synced 2024-11-09 16:00:35 +00:00
41 lines
861 B
YAML
41 lines
861 B
YAML
name: Rust
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
# Disabled until this issue is resolved: https://github.com/fcsonline/tmux-thumbs/issues/27
|
|
# build-mac:
|
|
|
|
# runs-on: macos-latest
|
|
|
|
# steps:
|
|
# - uses: actions/checkout@v2
|
|
|
|
# - name: Build
|
|
# run: cargo build --release
|
|
|
|
# - uses: actions/upload-artifact@v1
|
|
# with:
|
|
# name: thumbs-macos.zip
|
|
# path: ./target/release/thumbs
|
|
|
|
build-linux:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
sudo apt update -y
|
|
sudo apt-get install -y curl gnupg ca-certificates git gcc-multilib g++-multilib cmake libssl-dev pkg-config python
|
|
|
|
- name: Build
|
|
run: cargo build --release
|
|
|
|
- uses: actions/upload-artifact@v1
|
|
with:
|
|
name: thumbs-linux.zip
|
|
path: ./target/release/thumbs
|