use libvirt #84
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: Test | |
on: | |
workflow_dispatch: | |
release: | |
types: [ published ] | |
push: | |
branches: | |
- '*' | |
paths: | |
- '**.sh' | |
- '.github/workflows/test.yml' | |
- 'index.js' | |
- 'conf/*' | |
- 'hooks/*' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
testsshfs: | |
if: ${{ !contains(github.repository, 'solaris') && !contains(github.repository, 'dragonflybsd')}} | |
strategy: | |
matrix: | |
release: [ "11.4", ""] | |
runs: [ "ubuntu-22.04"] | |
runs-on: ${{ matrix.runs }} | |
name: sshfs Solaris | |
env: | |
MYTOKEN : ${{ secrets.MYTOKEN }} | |
MYTOKEN2: "value2" | |
SEC_VBOX : ${{ secrets.SEC_VBOX }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Test in Solaris | |
id: test | |
uses: vmactions/solaris-vm@main | |
with: | |
envs: 'MYTOKEN MYTOKEN2' | |
prepare: | | |
pkgutil -y -i socat | |
mem: 2048 | |
copyback: false | |
release: ${{ matrix.release }} | |
nat: | | |
"8080": "80" | |
"8443": "443" | |
udp:"8081": "80" | |
usesh: true | |
sync: sshfs | |
run: | | |
tree . | |
tree $HOME/work/ | |
test: | |
strategy: | |
matrix: | |
release: [ "11.4", ""] | |
runs: [ "ubuntu-22.04"] | |
runs-on: ${{ matrix.runs }} | |
name: Solaris | |
env: | |
MYTOKEN : ${{ secrets.MYTOKEN }} | |
MYTOKEN2: "value2" | |
SEC_VBOX : ${{ secrets.SEC_VBOX }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Test in Solaris | |
id: test | |
uses: vmactions/solaris-vm@main | |
with: | |
envs: 'MYTOKEN MYTOKEN2' | |
prepare: | | |
pkgutil -y -i socat | |
mem: 2048 | |
copyback: false | |
release: ${{ matrix.release }} | |
nat: | | |
"8080": "80" | |
"8443": "443" | |
udp:"8081": "80" | |
usesh: true | |
run: | | |
if [ -n "test" ]; then | |
echo "false" | |
fi | |
if [ "test" ]; then | |
echo "test" | |
fi | |
pwd | |
ls -lah | |
whoami | |
env | |
psrinfo -vp | |
cat /etc/release | |
echo "OK" | |