Skip to content

Commit

Permalink
Use GitHub Actions CI in parallel to old buildserver (t-oster#680)
Browse files Browse the repository at this point in the history
- For all commits on master, use both GH Actions and the old buildserver (download.visicut.org).
- For all PRs, use GH Actions.

Limitation: Currently the output of GH Actions is only temporarily kept for 90 days. No release is created.
  • Loading branch information
mgmax authored Dec 24, 2023
1 parent 4a8809e commit 7ec945a
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Trigger Buildserver
run-name: ${{ github.actor }} triggers buildserver
run-name: ${{ github.actor }} triggers the external buildserver to update download.visicut.org
on:
push:
branches:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/github-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build
run-name: ${{ github.actor }} builds using docker. The output is currently ignored
on:
push:
branches_ignore:
- gh-pages
pull_request:
branches_ignore:
- gh-pages
jobs:
Build:
runs-on: ubuntu-latest
container: 'docker://registry.gitlab.com/t-oster/visicutbuildservice'
steps:
- name: Setup directories
run: mkdir -p /app/build /app/output
- name: Run build
run: /app/build.sh
- name: Archive built files
uses: actions/upload-artifact@v3
with:
name: output binaries
path: |
/app/output/**

0 comments on commit 7ec945a

Please sign in to comment.