Add check-build-system and a new workflow (#14)
This commit is contained in:
parent
1b50dc60f9
commit
804a44dd6c
21
.github/workflows/test_all_workers.yaml
vendored
Normal file
21
.github/workflows/test_all_workers.yaml
vendored
Normal 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
19
tools/check-build-system
Executable 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;
|
Loading…
Reference in New Issue
Block a user