You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
name: Rust
|
|
|
|
|
|
|
|
env:
|
|
|
|
CARGO_TERM_COLOR: always
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
deploy:
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
os: [macOS-latest, windows-2019, ubuntu-latest]
|
|
|
|
include:
|
|
|
|
- os: ubuntu-latest
|
|
|
|
command: |
|
|
|
|
sudo apt-get update && sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libspeechd-dev libxkbcommon-dev libssl-dev libgtk-3-dev
|
|
|
|
cd postsack-native
|
|
|
|
./build_linux.sh
|
|
|
|
binary: target/release/bundle/deb/postsack_1.0.0._x86_64.deb
|
|
|
|
- os: macOS-latest
|
|
|
|
command: |
|
|
|
|
cd postsack-native
|
|
|
|
./build_mac.sh
|
|
|
|
binary: target/postsack.zip
|
|
|
|
- os: windows-2019
|
|
|
|
command: |
|
|
|
|
cd postsack-native
|
|
|
|
build_windows.bat
|
|
|
|
binary: target/release/postsack
|
|
|
|
steps:
|
|
|
|
- name: Production Build
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
- run: ${{ matrix.command }}
|
|
|
|
- name: Archive production artifacts
|
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
with:
|
|
|
|
name: dist
|
|
|
|
path: ${{ matrix.binary }}
|