piston/lxc/versions

48 lines
1.3 KiB
Plaintext
Raw Normal View History

2020-03-27 21:16:44 +01:00
#!/usr/bin/env bash
echo '---'
echo 'bash'
2020-03-27 21:22:33 +01:00
lxc-attach --clear-env -n piston -- /bin/bash -l -c "bash --version"
2020-03-27 21:16:44 +01:00
echo '---'
echo 'c'
2020-03-27 21:22:33 +01:00
lxc-attach --clear-env -n piston -- /bin/bash -l -c "gcc -v"
2020-03-27 21:16:44 +01:00
echo '---'
echo 'cpp'
2020-03-27 21:22:33 +01:00
lxc-attach --clear-env -n piston -- /bin/bash -l -c "g++ -v"
2020-03-27 21:16:44 +01:00
echo '---'
echo 'csharp'
2020-03-27 21:22:33 +01:00
lxc-attach --clear-env -n piston -- /bin/bash -l -c "mcs --version"
2020-03-27 21:16:44 +01:00
echo '---'
echo 'go'
2020-03-27 21:22:33 +01:00
lxc-attach --clear-env -n piston -- /bin/bash -l -c "go version"
2020-03-27 21:16:44 +01:00
echo '---'
echo 'java'
2020-03-27 21:22:33 +01:00
lxc-attach --clear-env -n piston -- /bin/bash -l -c "java -version"
2020-03-27 21:16:44 +01:00
echo '---'
echo 'nasm'
2020-03-27 21:22:33 +01:00
lxc-attach --clear-env -n piston -- /bin/bash -l -c "nasm -version"
2020-03-27 21:16:44 +01:00
echo '---'
echo 'node'
2020-03-27 21:22:33 +01:00
lxc-attach --clear-env -n piston -- /bin/bash -l -c "node --version"
2020-03-27 21:16:44 +01:00
echo '---'
echo 'php'
2020-03-27 21:22:33 +01:00
lxc-attach --clear-env -n piston -- /bin/bash -l -c "php -v"
2020-03-27 21:16:44 +01:00
echo '---'
echo 'python2'
2020-03-27 21:22:33 +01:00
lxc-attach --clear-env -n piston -- /bin/bash -l -c "python -V"
2020-03-27 21:16:44 +01:00
echo '---'
echo 'python3'
2020-03-27 21:22:33 +01:00
lxc-attach --clear-env -n piston -- /bin/bash -l -c "python3 -V"
2020-03-27 21:16:44 +01:00
echo '---'
echo 'ruby'
2020-03-27 21:22:33 +01:00
lxc-attach --clear-env -n piston -- /bin/bash -l -c "ruby --version"
2020-03-27 21:16:44 +01:00
echo '---'
echo 'rust'
2020-03-27 21:22:33 +01:00
lxc-attach --clear-env -n piston -- /bin/bash -l -c "rustc --version"
2020-03-27 21:16:44 +01:00
echo '---'
echo 'swift'
2020-03-27 21:22:33 +01:00
lxc-attach --clear-env -n piston -- /bin/bash -l -c "swift --version"
2020-03-27 21:16:44 +01:00
echo '---'
echo 'typescript'
2020-03-27 21:22:33 +01:00
lxc-attach --clear-env -n piston -- /bin/bash -l -c "tsc --version"
2020-03-27 21:16:44 +01:00
echo '---'