mirror of
https://github.com/TECHNOFAB11/tmux-copyrat.git
synced 2025-12-13 00:20:08 +01:00
37 lines
751 B
YAML
37 lines
751 B
YAML
name: Rust
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build-mac:
|
|
runs-on: macos-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Build
|
|
run: cargo build --release
|
|
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: copyrat-macos.zip
|
|
path: ./target/release/*copyrat
|
|
|
|
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@v2
|
|
with:
|
|
name: copyrat-linux.zip
|
|
path: ./target/release/*copyrat
|