CI #1333
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 2 * * *' # run at 2 AM UTC | |
workflow_dispatch: | |
inputs: | |
debug: | |
description: 'enter remote debug environment' | |
required: true | |
default: "false" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
flavor: [normal, community, beta] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install dependencies | |
run: | | |
sudo dpkg --add-architecture i386 | |
sudo dpkg --print-foreign-architectures | |
sudo apt-get -qq update || true | |
- name: set timezone to Europe/Berlin | |
run: | | |
sudo timedatectl set-timezone Europe/Berlin | |
date | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '12.x' | |
- name: install OCCU | |
run: | | |
sudo FLAVOR=${{ matrix.flavor }} ARCH=X86_32_Debian_Wheezy ./install.sh | |
- name: remote debug tmate session | |
uses: mxschmitt/action-tmate@v3 | |
if: github.event.inputs.debug == 'true' | |
- name: run OCCU test | |
run: | | |
sudo FLAVOR=${{ matrix.flavor }} ./run.sh |