attempt #4 for M1 Mac build: correct artifact path and skip M1 tests because not running on M1 machine

This commit is contained in:
Noah Santschi-Cooney 2022-01-02 22:30:24 +00:00
parent 57f4b7924b
commit 5747a9d9b1
No known key found for this signature in database
GPG key ID: 3B22282472C8AE48

View file

@ -41,10 +41,11 @@ jobs:
target: ${{ matrix.platforms.target }}
override: true
- name: Build server
run: cargo build --target ${{ matrix.platforms.target }}
run: cargo build --target ${{ matrix.platforms.target }} --out-dir . -Z unstable-options
- uses: actions/upload-artifact@v2
with:
name: mcshader-lsp-${{ matrix.platforms.artifact }}
path: ${{ matrix.platforms.dir }}
- name: Run tests
run: cargo test --target ${{ matrix.platforms.target }}
if: ${{ matrix.platforms.target != 'aarch64-apple-darwin' }}