Add check-build-system and a new workflow (#14)

This commit is contained in:
Marko Budiselić 2020-10-07 17:56:44 +02:00 committed by GitHub
parent 1b50dc60f9
commit 804a44dd6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 40 additions and 0 deletions

21
.github/workflows/test_all_workers.yaml vendored Normal file
View File

@ -0,0 +1,21 @@
name: Test All Workers
on: [workflow_dispatch]
jobs:
HP-DL360G6-1:
name: "HP-DL360G6-1 build"
runs-on: [HP-DL360G6-1]
timeout-minutes: 10
steps:
- name: Set up repository
uses: actions/checkout@v2
with:
# Number of commits to fetch. `0` indicates all history for all
# branches and tags. (default: 1)
fetch-depth: 0
- name: Check the system
run: |
./tools/check-build-system

19
tools/check-build-system Executable file
View File

@ -0,0 +1,19 @@
#!/bin/bash -e
tools=(
go
dotnet
npm
node
java
javac
mono
mcs
virtualenv
)
for tool in ${tools[@]}; do
if ! which $tool >/dev/null; then
echo "$tool not installed!"
fi
done;