2020-03-08 19:21:31 +00:00
|
|
|
name: Rust
|
|
|
|
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
2020-05-04 17:47:49 +00:00
|
|
|
build-mac:
|
|
|
|
runs-on: macos-latest
|
2020-03-08 19:21:31 +00:00
|
|
|
|
2020-05-04 17:47:49 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2020-03-08 19:21:31 +00:00
|
|
|
|
2020-05-04 17:47:49 +00:00
|
|
|
- name: Build
|
|
|
|
run: cargo build --release
|
2020-03-08 19:21:31 +00:00
|
|
|
|
2020-05-04 17:47:49 +00:00
|
|
|
- uses: actions/upload-artifact@v1
|
|
|
|
with:
|
|
|
|
name: thumbs-macos.zip
|
|
|
|
path: ./target/release/thumbs
|
2020-03-08 19:21:31 +00:00
|
|
|
|
|
|
|
build-linux:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Install dependencies
|
|
|
|
run: |
|
2020-03-15 22:37:29 +00:00
|
|
|
sudo apt update -y
|
2020-03-08 19:21:31 +00:00
|
|
|
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
|