about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2022-10-14 16:38:49 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2022-10-18 16:31:50 +0200
commitd04e66fd0f0bf1250a02ff2b3562c7aceb75abd2 (patch)
treed8b37ac159dc70021cdcce0acbac0128516f6b8f
parentccfe7d889814cce1b24ad34097e0161b3436d30f (diff)
downloadrust-d04e66fd0f0bf1250a02ff2b3562c7aceb75abd2.tar.gz
rust-d04e66fd0f0bf1250a02ff2b3562c7aceb75abd2.zip
Run assembly tests in the CI
-rw-r--r--.github/workflows/ci.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a75a770550c..347e170b3ad 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -13,7 +13,7 @@ env:
 
 jobs:
   build:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-20.04
 
     strategy:
       fail-fast: false
@@ -24,7 +24,7 @@ jobs:
           - { gcc: "libgccjit12.so", extra: "--no-default-features", artifacts_branch: "gcc12" }
         commands: [
           "--mini-tests",
-          "--std-tests",
+          "--std-tests --asm-tests",
           "--test-libcore",
           "--extended-rand-tests",
           "--extended-regex-example-tests",
@@ -43,7 +43,8 @@ jobs:
         path: llvm
 
     - name: Install packages
-      run: sudo apt-get install ninja-build ripgrep
+      # `llvm-10-tools` is needed to install the `FileCheck` binary which is used for asm tests.
+      run: sudo apt-get install ninja-build ripgrep llvm-10-tools
 
     - name: Download artifact
       uses: dawidd6/action-download-artifact@v2