Bladeren bron

also install x64 rust in github action

Grant Limberg 1 jaar geleden
bovenliggende
commit
aed3afdd2e
1 gewijzigde bestanden met toevoegingen van 8 en 1 verwijderingen
  1. 8 1
      .github/workflows/build.yml

+ 8 - 1
.github/workflows/build.yml

@@ -43,13 +43,20 @@ jobs:
       #        git config --global core.eol lf
     - name: checkout
       uses: actions/checkout@v3
-    - name: Install Rust
+    - name: Install Rust aarch64
       uses: actions-rs/toolchain@v1
       with:
         toolchain: stable
         target: aarch64-apple-darwin
         override: true
         components: rustfmt, clippy
+    - name: Install Rust x86_64
+      uses: actions-rs/toolchain@v1
+      with:
+        toolchain: stable
+        target: x86_64-apple-darwin
+        override: true
+        components: rustfmt, clippy
     - name: Set up cargo cache
       uses: Swatinem/rust-cache@v2
       continue-on-error: false