aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorFelix (xq) Queißner <git@mq32.de>2021-03-06 19:12:05 +0100
committerFelix (xq) Queißner <git@mq32.de>2021-03-06 19:12:05 +0100
commitc257870c054cd893bd8a5c01a7a7865a8993f1ee (patch)
tree675cddf3d29cc62e87dde34e1b39e5b99095d032 /.github/workflows
parent0785c1cf3826bbdaa36cd7c94e80913decf86818 (diff)
downloadkristall-c257870c054cd893bd8a5c01a7a7865a8993f1ee.tar.gz
Installs proper nightly deployment.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml46
-rw-r--r--.github/workflows/nightly.yml34
2 files changed, 35 insertions, 45 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index db284e6..2386221 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -45,51 +45,7 @@ jobs:
- name: make
run: make build/kristall
-
- - name: Prepare deployment
- working-directory: build
- run: macdeployqt kristall.app -dmg
-
- - name: display
- run: |
- uname -a
- file build/kristall.app
- ls build
-
- - uses: actions/upload-artifact@v2
- with:
- name: Kristall.app
- path: build/kristall.dmg
-
- - name: Deploy with SCP
- uses: noobly314/deploy-with-scp@v1
- with:
- src: build/kristall.dmg
- dest: kristall/Kristall-nightly-macos-x86_64.dmg
- username: generic-ci
- server-ip: random-projects.net
- ssh-key: ${{ secrets.PRIVATE_KEY }} #
-
- # - name: Deploy via SCP
- # uses: horochx/deploy-via-scp@master
- # with:
- # local: build/kristall.app
- # remote: kristall/Kristall-nightly-macos-x86_64.app
- # host: random-projects.net
- # port: 22
- # user: generic-ci
- # key: ${{ secrets.PRIVATE_KEY }} #
- #
- # - name: Deploy via SCP
- # uses: garygrossgarten/github-action-scp@release
- # with:
- # host: random-projects.net
- # username: generic-ci
- # privateKey: ${{ secrets.PRIVATE_KEY }}
- # local: "build/kristall.app"
- # remote: "kristall/Kristall-nightly-macos-x86_64.app"
-#
-
+
# Disabled until both aqinstall and install-qt-action support the fixes…
# build_windows:
# runs-on: windows-latest
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
new file mode 100644
index 0000000..6bdb10a
--- /dev/null
+++ b/.github/workflows/nightly.yml
@@ -0,0 +1,34 @@
+name: Nightly Deploy
+
+on:
+ schedule:
+ - cron: "0 3 * * *" # run at 3 AM UTC
+
+jobs:
+ build-macos:
+ runs-on: macos-latest
+ steps:
+ - uses: actions/checkout@v2
+
+ - name: Install dependencies via brew
+ run: brew install qt@5 openssl
+
+ - uses: jurplel/install-qt-action@v2
+ with:
+ version: "5.12.8"
+
+ - name: make
+ run: make build/kristall
+
+ - name: Prepare deployment
+ working-directory: build
+ run: macdeployqt kristall.app -dmg
+
+ - name: Deploy with SCP
+ uses: noobly314/deploy-with-scp@v1
+ with:
+ src: build/kristall.dmg
+ dest: kristall/Kristall-nightly-macos-x86_64.dmg
+ username: generic-ci
+ server-ip: random-projects.net
+ ssh-key: ${{ secrets.PRIVATE_KEY }} #