From 85a961b229cf4a7120c7d13fea9ac57978a4aa60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Wed, 4 Oct 2023 11:31:10 +0200 Subject: [PATCH] feat: remove NASM dependency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Kröning --- .github/workflows/ci.yml | 16 ++++------------ .github/workflows/publish.yml | 4 ---- README.md | 1 - 3 files changed, 4 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 09c9bf61e..8629b9714 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,10 +18,6 @@ jobs: submodules: true - uses: mkroening/rust-toolchain-toml@main - run: rustup component add clippy - - name: Install NASM - run: | - sudo apt-get update - sudo apt-get install nasm - name: Clippy run: | cargo clippy --all-targets @@ -44,10 +40,6 @@ jobs: - uses: actions/checkout@v4 with: submodules: true - - name: Install NASM - run: | - sudo apt-get update - sudo apt-get install nasm - uses: mkroening/rust-toolchain-toml@main - name: Check docs run: cargo doc --no-deps --document-private-items @@ -56,10 +48,10 @@ jobs: name: KVM runs-on: [self-hosted] steps: - - name: Install NASM + - name: Install QEMU run: | sudo apt-get update - sudo apt-get install -y nasm qemu-kvm + sudo apt-get install -y qemu-kvm - uses: actions/checkout@v4 with: submodules: true @@ -140,10 +132,10 @@ jobs: name: QEMU (x86_64) runs-on: ubuntu-latest steps: - - name: Install CURL, QEMU, NASM + - name: Install CURL, QEMU run: | sudo apt-get update - sudo apt-get install qemu-system-x86 nasm curl + sudo apt-get install qemu-system-x86 curl - uses: actions/checkout@v4 with: submodules: true diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 113c1fe20..a59c054f2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,10 +14,6 @@ jobs: runs-on: ubuntu-latest steps: - - name: Install NASM - run: | - sudo apt-get update - sudo apt-get install nasm - uses: actions/checkout@v4 with: submodules: true diff --git a/README.md b/README.md index 63c25ee36..2b0f4f8c2 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,6 @@ Rust applications that use the Rust runtime and do not directly use OS services ## Requirements * [`rustup`](https://www.rust-lang.org/tools/install) -* [NASM](https://nasm.us/) (only for SMP on x86_64) ## Building your own applications