-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: "Test debian installer" | ||
|
||
# Controls when the action will run. | ||
on: | ||
# Triggers the workflow on push or pull request events but only for the v2.5.0_dev branch | ||
push: | ||
branches: [ main, v2_devel, v2_master ] | ||
pull_request: | ||
branches: [ main, v2_devel, v2_master] | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test-debian: | ||
name: "Test Debian install" | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: Set up Python 3.10 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.6" | ||
- name: Fix dependencies | ||
run: | | ||
sudo apt update && sudo apt-get install libgnutls28-dev libcurl4-openssl-dev libssl-dev libdiscid-dev | ||
- name: Run Installer | ||
run: | | ||
chmod +x scripts/installers/debian-install.sh | ||
sudo ./scripts/installers/debian-install.sh | ||
- name: Fix config files | ||
run: | | ||
cp setup/arm.yaml arm.yaml | ||
sudo mkdir -p /etc/arm/config/ | ||
sudo cp setup/arm.yaml /etc/arm/config/arm.yaml | ||
sudo cp setup/apprise.yaml /etc/arm/config/apprise.yaml | ||
sudo cp setup/.abcde.conf /etc/arm/config/abcde.conf | ||
- name: Run A.R.M ui | ||
run: timeout 1 python ./arm/runui.py || code=$?; if [[ $code -ne 124 && $code -ne 0 ]]; then exit $code; fi |