Pārlūkot izejas kodu

ci: support apple aarch64 (#294)

Vincent Young 1 gadu atpakaļ
vecāks
revīzija
e4766e7d90
1 mainītis faili ar 6 papildinājumiem un 1 dzēšanām
  1. 6 1
      .github/workflows/release.yml

+ 6 - 1
.github/workflows/release.yml

@@ -70,6 +70,11 @@ jobs:
             target: x86_64-apple-darwin
             exe: rathole
             cross: false
+          
+          - os: macos-latest
+            target: aarch64-apple-darwin
+            exe: rathole
+            cross: false
 
           - os: windows-latest
             target: x86_64-pc-windows-msvc
@@ -96,7 +101,7 @@ jobs:
         if: matrix.cross == false
         run: rustup target add ${{ matrix.target }}
       - name: Run tests
-        if: matrix.cross == false
+        if: matrix.cross == false && matrix.target != 'aarch64-apple-darwin'
         run: cargo test --release --target ${{ matrix.target }} --verbose 
       - name: Build release
         if: matrix.cross == false