name: No-DNS on: # Triggers when a PR is merged into main or a direct push occurs push: branches: [ "main" ] # Triggers for any PR (and its subsequent commits) targeting the main branch pull_request: branches: [ "main" ] permissions: {} # Newest push wins: Prevents multiple runs from clashing and wasting runner efforts concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true jobs: no-dns: name: LXC deploy and test uses: chatmail/cmlxc/.github/workflows/lxc-test.yml@v0.14.6 with: cmlxc_version: v0.14.6 cmlxc_commands: | cmlxc init # single cmdeploy relay test cmlxc -v deploy-cmdeploy --source ./repo --type ipv4 cm0 cmlxc -v test-cmdeploy cm0 # cross cmdeploy relay test (two ipv4 relays) cmlxc -v deploy-cmdeploy --source ./repo --ipv4-only --type ipv4 cm1 cmlxc -v test-cmdeploy cm0 cm1 # cross cmdeploy/madmail relay tests cmlxc -v deploy-madmail mad0 cmlxc -v test-cmdeploy cm0 mad0 cmlxc -v test-mini mad0 cm0 cmlxc -v test-mini cm0 mad0