akvirtualcamera/.github/workflows/linux-mingw.yml

58 lines
1.6 KiB
YAML
Raw Normal View History

name: Linux MinGW
on: [push, pull_request]
env:
2021-06-26 22:34:22 +00:00
QTIFWVER: 4.1.1
ARCH_ROOT_DATE: 2021.05.01
ARCH_ROOT_URL: https://mirror.rackspace.com/archlinux
NSIS_VERSION: 3.06.1
2021-06-29 00:00:57 +00:00
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
2021-06-25 15:48:53 +00:00
chmod +x ports/ci/linux-mingw/install_deps.sh
./ports/ci/linux-mingw/install_deps.sh
2021-06-28 22:54:26 +00:00
- name: Release Build
2021-06-29 00:00:57 +00:00
if: ${{ startsWith(github.ref, 'refs/tags/') }}
2021-06-28 22:54:26 +00:00
env:
RELEASE_BUILD: 1
run: |
2021-06-25 15:48:53 +00:00
chmod +x ports/ci/linux-mingw/build.sh
./ports/ci/linux-mingw/build.sh
2021-06-28 22:54:26 +00:00
- name: Release Deploy
2021-06-29 00:00:57 +00:00
if: ${{ startsWith(github.ref, 'refs/tags/') }}
2021-06-28 22:54:26 +00:00
env:
RELEASE_BUILD: 1
run: |
2021-06-25 15:48:53 +00:00
chmod +x ports/ci/linux-mingw/deploy.sh
./ports/ci/linux-mingw/deploy.sh
2021-06-28 22:54:26 +00:00
- name: Daily Build
2021-06-29 00:00:57 +00:00
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
2021-06-28 22:54:26 +00:00
env:
DAILY_BUILD: 1
run: |
2021-06-28 22:54:26 +00:00
chmod +x ports/ci/linux-mingw/build.sh
./ports/ci/linux-mingw/build.sh
- name: Daily Deploy
2021-06-29 00:00:57 +00:00
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
2021-06-28 22:54:26 +00:00
env:
DAILY_BUILD: 1
run: |
chmod +x ports/ci/linux-mingw/deploy.sh
./ports/ci/linux-mingw/deploy.sh
# - name: Upload
# run: |
# #chmod +x ports/ci/linux-mingw/upload.sh
# #./ports/ci/linux-mingw/upload.sh
2021-06-28 19:43:36 +00:00
- name: Linux MinGW daily build packages
uses: actions/upload-artifact@v2
with:
name: linux-mingw-daily-build
path: webcamoid-packages/*