Disable arm64 build and release

Builds are currently failing, so the release would fail too.

It looks like a compilation issue with tree-sitter-yaml:

    The following warnings were emitted during compilation:

    warning: vendor/tree-sitter-yaml-src/scanner.cc: In member function ‘bool {anonymous}::Scanner::scn_dir_tag_pfx(TSLexer*, TSSymbol)’:
    warning: vendor/tree-sitter-yaml-src/scanner.cc:430:9: warning: case label value is less than minimum value for type
    warning:   430 |         case SCN_FAIL:
    warning:       |         ^~~~

This reverts #353, but I've opened #368.
pull/361/head
Wilfred Hughes 2022-09-09 09:07:58 +07:00
parent 28c5461a2f
commit ed1e1d870e
2 changed files with 13 additions and 13 deletions

@ -27,10 +27,10 @@ jobs:
strategy: strategy:
matrix: matrix:
include: include:
- target: aarch64-unknown-linux-gnu # - target: aarch64-unknown-linux-gnu
os: ubuntu-latest # os: ubuntu-latest
- target: aarch64-apple-darwin # - target: aarch64-apple-darwin
os: macos-latest # os: macos-latest
- target: x86_64-unknown-linux-gnu - target: x86_64-unknown-linux-gnu
os: ubuntu-latest os: ubuntu-latest
- target: x86_64-apple-darwin - target: x86_64-apple-darwin

@ -19,15 +19,15 @@ jobs:
- uses: dtolnay/rust-toolchain@stable - uses: dtolnay/rust-toolchain@stable
- run: cargo +stable test - run: cargo +stable test
test_linux_arm64: # test_linux_arm64:
name: Test Linux arm64 (build only) # name: Test Linux arm64 (build only)
runs-on: ubuntu-latest # runs-on: ubuntu-latest
steps: # steps:
- uses: actions/checkout@v3 # - uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@1.57.0 # - uses: dtolnay/rust-toolchain@1.57.0
- run: rustup target add aarch64-unknown-linux-gnu # - run: rustup target add aarch64-unknown-linux-gnu
- run: sudo apt-get install gcc-aarch64-linux-gnu g++-aarch64-linux-gnu # - run: sudo apt-get install gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
- run: cargo build --target=aarch64-unknown-linux-gnu # - run: cargo build --target=aarch64-unknown-linux-gnu
test_mac: test_mac:
name: Test macOS name: Test macOS