Upstream tdx-tdcall to crates.io #37
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
on: | |
push: | |
paths-ignore: | |
- "**.md" | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
workflow_dispatch: | |
name: Devtools | |
env: | |
AS: nasm | |
STABLE_RUST_TOOLCHAIN: 1.75.0 | |
NIGHTLY_RUST_TOOLCHAIN: nightly-2023-12-31 | |
TOOLCHAIN_PROFILE: minimal | |
jobs: | |
devtools_install: | |
name: Install | |
runs-on: ${{ matrix.host_os }} | |
timeout-minutes: 30 | |
strategy: | |
matrix: | |
host_os: | |
- ubuntu-20.04 | |
- windows-2019 | |
steps: | |
- name: Install LLVM and Clang | |
uses: KyleMayes/install-llvm-action@v2 | |
with: | |
version: "10.0" | |
directory: ${{ runner.temp }}/llvm | |
- name: install NASM | |
uses: ilammy/setup-nasm@v1 | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install stable toolchain | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{ env.STABLE_RUST_TOOLCHAIN }} | |
- name: Install nightly toolchain | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{ env.NIGHTLY_RUST_TOOLCHAIN }} | |
- name: Preparation work | |
run: make preparation | |
- name: Install devtools | |
run: make install-devtools | |
- name: Set PATH | |
shell: bash | |
run: | | |
echo "$GITHUB_WORKSPACE/devtools/bin" >> $GITHUB_PATH | |
- name: Exec Runner Server | |
run: test-runner-server -h |