└── .github └── workflows ├── mac-10.15.yml ├── mac-11-vsc.yml ├── mac-11.yml ├── mac-12-vsc.yml ├── mac-12.yml ├── mac-14-m1-vsc.yml ├── mac-14-m1.yml ├── ubuntu-20.04-tun.yml ├── ubuntu-20.04-vsc.yml ├── ubuntu-20.04.yml ├── windows-2019-tun.yml ├── windows-2019-vsc.yml └── windows-2019.yml /.github/workflows/mac-10.15.yml: -------------------------------------------------------------------------------- 1 | name: MacOS 10.15 2 | on: 3 | workflow_dispatch: 4 | inputs: 5 | debug_enabled: 6 | description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)' 7 | required: false 8 | default: true 9 | 10 | env: 11 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 12 | 13 | jobs: 14 | build: 15 | runs-on: macos-10.15 16 | steps: 17 | # Enable tmate debugging of manually-triggered workflows if the input option was provided 18 | - name: Setup tmate session 19 | uses: mxschmitt/action-tmate@v3 20 | if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} 21 | -------------------------------------------------------------------------------- /.github/workflows/mac-11-vsc.yml: -------------------------------------------------------------------------------- 1 | name: MacOS 11 (VSC) 2 | on: 3 | workflow_dispatch: 4 | inputs: 5 | debug_enabled: 6 | description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)' 7 | required: false 8 | default: true 9 | 10 | env: 11 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 12 | 13 | jobs: 14 | build: 15 | runs-on: macos-11 16 | steps: 17 | - name: Setup VSCode Server session 18 | uses: NyaMisty/vscode-server-action@main 19 | if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} 20 | with: 21 | #machineName: myMachine # optional, default: GitHub workflow run ID 22 | timeout: '3600000' # 1 hour -------------------------------------------------------------------------------- /.github/workflows/mac-11.yml: -------------------------------------------------------------------------------- 1 | name: MacOS 11 2 | on: 3 | workflow_dispatch: 4 | inputs: 5 | debug_enabled: 6 | description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)' 7 | required: false 8 | default: true 9 | 10 | env: 11 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 12 | 13 | jobs: 14 | build: 15 | runs-on: macos-11 16 | steps: 17 | # Enable tmate debugging of manually-triggered workflows if the input option was provided 18 | - name: Setup tmate session 19 | uses: mxschmitt/action-tmate@v3 20 | if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} 21 | -------------------------------------------------------------------------------- /.github/workflows/mac-12-vsc.yml: -------------------------------------------------------------------------------- 1 | name: MacOS 12 (VSC) 2 | on: 3 | workflow_dispatch: 4 | inputs: 5 | debug_enabled: 6 | description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)' 7 | required: false 8 | default: true 9 | 10 | env: 11 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 12 | 13 | jobs: 14 | build: 15 | runs-on: macos-12 16 | steps: 17 | - name: Setup VSCode Server session 18 | uses: NyaMisty/vscode-server-action@main 19 | if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} 20 | with: 21 | #machineName: myMachine # optional, default: GitHub workflow run ID 22 | timeout: '3600000' # 1 hour -------------------------------------------------------------------------------- /.github/workflows/mac-12.yml: -------------------------------------------------------------------------------- 1 | name: MacOS 12 2 | on: 3 | workflow_dispatch: 4 | inputs: 5 | debug_enabled: 6 | description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)' 7 | required: false 8 | default: true 9 | 10 | env: 11 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 12 | 13 | jobs: 14 | build: 15 | runs-on: macos-12 16 | steps: 17 | # Enable tmate debugging of manually-triggered workflows if the input option was provided 18 | - name: Setup tmate session 19 | uses: mxschmitt/action-tmate@v3 20 | if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} 21 | -------------------------------------------------------------------------------- /.github/workflows/mac-14-m1-vsc.yml: -------------------------------------------------------------------------------- 1 | name: MacOS 14 M1 (VSC) 2 | on: 3 | workflow_dispatch: 4 | inputs: 5 | debug_enabled: 6 | description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)' 7 | required: false 8 | default: true 9 | 10 | env: 11 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 12 | 13 | jobs: 14 | build: 15 | runs-on: macos-14 16 | steps: 17 | - name: Setup VSCode Server session 18 | uses: NyaMisty/vscode-server-action@main 19 | if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} 20 | with: 21 | #machineName: myMachine # optional, default: GitHub workflow run ID 22 | timeout: '3600000' # 1 hour -------------------------------------------------------------------------------- /.github/workflows/mac-14-m1.yml: -------------------------------------------------------------------------------- 1 | name: MacOS 14 M1 2 | on: 3 | workflow_dispatch: 4 | inputs: 5 | debug_enabled: 6 | description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)' 7 | required: false 8 | default: true 9 | 10 | env: 11 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 12 | 13 | jobs: 14 | build: 15 | runs-on: macos-14 16 | steps: 17 | # Enable tmate debugging of manually-triggered workflows if the input option was provided 18 | - name: Setup tmate session 19 | uses: mxschmitt/action-tmate@v3 20 | if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} 21 | -------------------------------------------------------------------------------- /.github/workflows/ubuntu-20.04-tun.yml: -------------------------------------------------------------------------------- 1 | name: Ubuntu-20.04 TunShell 2 | on: 3 | workflow_dispatch: 4 | inputs: 5 | debug_enabled: 6 | description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)' 7 | required: false 8 | default: true 9 | env: 10 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 11 | 12 | jobs: 13 | build: 14 | runs-on: ubuntu-20.04 15 | steps: 16 | - name: Enable Shell Access 17 | #if: ${{ always() && github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} 18 | run: | 19 | set -x 20 | RELAY=relay.tunshell.com 21 | SECRET=0000000000000000000000 22 | KEYS=$(curl -sSf -X POST https://relay.tunshell.com/api/sessions); echo $KEYS | jq -r '.peer1_key' > peer1; echo $KEYS | jq -r '.peer2_key' > peer2; 23 | (while true; do 24 | echo "Connect to github actions node using: sh <(curl -sSf https://lets.tunshell.com/init.sh) L $(cat peer2) 0000000000000000000000 $RELAY" 25 | echo "Or: https://tunshell.com/term#$(cat peer2),$SECRET,$RELAY" 26 | sleep 1 27 | done) & 28 | curl -sSf https://lets.tunshell.com/init.sh | sh -s -- T $(cat peer1) $SECRET $RELAY 29 | #powershell '[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12; &$([scriptblock]::Create((New-Object System.Net.WebClient).DownloadString("https://lets.tunshell.com/init.ps1"))) '"T $(cat peer1) $SECRET $RELAY" 30 | 31 | -------------------------------------------------------------------------------- /.github/workflows/ubuntu-20.04-vsc.yml: -------------------------------------------------------------------------------- 1 | name: Ubuntu-20.04 (VSC) 2 | on: 3 | workflow_dispatch: 4 | inputs: 5 | debug_enabled: 6 | description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)' 7 | required: false 8 | default: true 9 | env: 10 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 11 | 12 | jobs: 13 | build: 14 | runs-on: ubuntu-20.04 15 | steps: 16 | - name: Setup VSCode Server session 17 | uses: NyaMisty/vscode-server-action@main 18 | if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} 19 | with: 20 | #machineName: myMachine # optional, default: GitHub workflow run ID 21 | timeout: '3600000' # 1 hour -------------------------------------------------------------------------------- /.github/workflows/ubuntu-20.04.yml: -------------------------------------------------------------------------------- 1 | name: Ubuntu-20.04 2 | on: 3 | workflow_dispatch: 4 | inputs: 5 | debug_enabled: 6 | description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)' 7 | required: false 8 | default: true 9 | 10 | env: 11 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 12 | 13 | jobs: 14 | build: 15 | runs-on: ubuntu-20.04 16 | steps: 17 | # Enable tmate debugging of manually-triggered workflows if the input option was provided 18 | - name: Setup tmate session 19 | uses: mxschmitt/action-tmate@v3 20 | if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} -------------------------------------------------------------------------------- /.github/workflows/windows-2019-tun.yml: -------------------------------------------------------------------------------- 1 | name: Windows Server 2019 TunShell 2 | 3 | on: 4 | workflow_dispatch: 5 | inputs: 6 | debug_enabled: 7 | description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)' 8 | required: false 9 | default: true 10 | #push: 11 | env: 12 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 13 | 14 | jobs: 15 | build: 16 | runs-on: windows-2019 17 | steps: 18 | # Enable tmate debugging of manually-triggered workflows if the input option was provided 19 | #- name: Setup tmate session 20 | # uses: mxschmitt/action-tmate@v3 21 | # if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} 22 | - name: Enable Shell Access 23 | #if: ${{ always() && github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} 24 | run: | 25 | set -x 26 | RELAY=relay.tunshell.com 27 | KEYS=$(curl -sSf -X POST https://relay.tunshell.com/api/sessions); echo $KEYS | jq -r '.peer1_key' > peer1; echo $KEYS | jq -r '.peer2_key' > peer2; 28 | (while true; do 29 | echo "Connect to github actions node using: sh <(curl -sSf https://lets.tunshell.com/init.sh) L $(cat peer2) 0000000000000000000000 $RELAY" 30 | echo "Or: https://tunshell.com/term#$(cat peer2),0000000000000000000000,$RELAY" 31 | sleep 1 32 | done) & 33 | powershell '[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12; &$([scriptblock]::Create((New-Object System.Net.WebClient).DownloadString("https://lets.tunshell.com/init.ps1"))) '"T $(cat peer1) 0000000000000000000000 $RELAY" 34 | 35 | shell: bash 36 | -------------------------------------------------------------------------------- /.github/workflows/windows-2019-vsc.yml: -------------------------------------------------------------------------------- 1 | name: Windows Server 2019 (VSC) 2 | on: 3 | workflow_dispatch: 4 | inputs: 5 | debug_enabled: 6 | description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)' 7 | required: false 8 | default: true 9 | env: 10 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 11 | 12 | jobs: 13 | build: 14 | runs-on: windows-2019 15 | steps: 16 | - name: Setup VSCode Server session 17 | uses: NyaMisty/vscode-server-action@main 18 | if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} 19 | with: 20 | #machineName: myMachine # optional, default: GitHub workflow run ID 21 | timeout: '3600000' # 1 hour -------------------------------------------------------------------------------- /.github/workflows/windows-2019.yml: -------------------------------------------------------------------------------- 1 | name: Windows Server 2019 2 | on: 3 | workflow_dispatch: 4 | inputs: 5 | debug_enabled: 6 | description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)' 7 | required: false 8 | default: true 9 | 10 | env: 11 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 12 | 13 | jobs: 14 | build: 15 | runs-on: windows-2019 16 | steps: 17 | # Enable tmate debugging of manually-triggered workflows if the input option was provided 18 | - name: Setup tmate session 19 | uses: mxschmitt/action-tmate@v3 20 | if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} --------------------------------------------------------------------------------