• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1name: SSH
2
3on:
4  workflow_dispatch:
5    inputs:
6      os:
7        description: "Operating System"
8        required: true
9        default: "ubuntu-latest"
10
11jobs:
12  ssh:
13    name: SSH
14    runs-on: ${{ matrix.os }}
15    strategy:
16      matrix:
17        os: [macos-latest, ubuntu-latest, windows-latest]
18        clang: [["13.0", "clang_13_0"]]
19        rust: ["1.40.0"]
20    steps:
21      - name: Checkout Repository
22        uses: actions/checkout@v2
23        if: github.event.inputs.os == matrix.os
24      # LLVM and Clang
25      - name: Install LLVM and Clang
26        uses: KyleMayes/install-llvm-action@v1
27        if: github.event.inputs.os == matrix.os
28        with:
29          version: ${{ matrix.clang[0] }}
30          directory: ${{ runner.temp }}/llvm-${{ matrix.clang[0] }}
31      # Rust
32      - name: Install Rust
33        uses: actions-rs/toolchain@v1
34        if: github.event.inputs.os == matrix.os
35        with:
36          toolchain: ${{ matrix.rust }}
37      # SSH
38      - name: Enable SSH
39        uses: mxschmitt/action-tmate@v3
40        if: github.event.inputs.os == matrix.os
41