forked from skiselkov/BetterPushbackC
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (35 loc) · 1.3 KB
/
Build Publish Release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Build&Publish Release
on: [push]
tags:
- "v**"
jobs:
build-lin-win:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Install dependencies
run: sudo apt-get update && sudo apt-get -y install build-essential gcc-multilib g++-multilib mingw-w64 libgl1-mesa-dev libglu1-mesa-dev libx11-dev qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools qt5-qmake libasound2-dev libportaudio2 libpulse-dev ffmpeg libxcursor-dev
- name: configure libacfutils
run: 'cd src/libacfutils && chmod +x build_deps &&./build_deps'
- name: Build libacfutils redist
run: 'cd src/libacfutils && chmod +x build_redist && ./build_redist'
- name: Build
run: 'chmod +x build_release && ./build_release'
- name: Archive files
run: zip -r BetterPushBack_lin_win.zip BetterPushback
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: BetterPushBack_lin_win.zip
path: BetterPushBack_lin_win.zip
- name: Publish release
uses: softprops/action-gh-release@v1
with:
files: BetterPushBack_lin_win.zip
draft: true
prerelease: true