mirror of https://github.com/terhechte/postsack
Try new gh video feature, try deploy gh action
parent
daf650bab9
commit
9d7d44233c
@ -0,0 +1,37 @@
|
||||
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 }}
|
Loading…
Reference in New Issue