From ed1e1d870e80b71d412010b3087edca191efa693 Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Fri, 9 Sep 2022 09:07:58 -0700 Subject: [PATCH] Disable arm64 build and release MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- .github/workflows/release.yml | 8 ++++---- .github/workflows/test.yml | 18 +++++++++--------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 719211608..102e41739 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,10 +27,10 @@ jobs: strategy: matrix: include: - - target: aarch64-unknown-linux-gnu - os: ubuntu-latest - - target: aarch64-apple-darwin - os: macos-latest + # - target: aarch64-unknown-linux-gnu + # os: ubuntu-latest + # - target: aarch64-apple-darwin + # os: macos-latest - target: x86_64-unknown-linux-gnu os: ubuntu-latest - target: x86_64-apple-darwin diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 23a26a392..157e70c09 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,15 +19,15 @@ jobs: - uses: dtolnay/rust-toolchain@stable - run: cargo +stable test - test_linux_arm64: - name: Test Linux arm64 (build only) - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@1.57.0 - - run: rustup target add aarch64-unknown-linux-gnu - - run: sudo apt-get install gcc-aarch64-linux-gnu g++-aarch64-linux-gnu - - run: cargo build --target=aarch64-unknown-linux-gnu + # test_linux_arm64: + # name: Test Linux arm64 (build only) + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v3 + # - uses: dtolnay/rust-toolchain@1.57.0 + # - run: rustup target add aarch64-unknown-linux-gnu + # - run: sudo apt-get install gcc-aarch64-linux-gnu g++-aarch64-linux-gnu + # - run: cargo build --target=aarch64-unknown-linux-gnu test_mac: name: Test macOS