From 3ef0230e1666f3159a0eb17aad2cd0b31bec2f71 Mon Sep 17 00:00:00 2001 From: Jon Mease Date: Fri, 19 Apr 2024 09:56:58 -0400 Subject: [PATCH] re-enable test-rs-macos --- .github/workflows/rust.yml | 55 +++++++++++++++++++------------------- 1 file changed, 27 insertions(+), 28 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 850b92d..d7a82be 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -49,31 +49,30 @@ jobs: # - name: Run tests # run: cargo test --verbose -# # Cleanup fails with: [__NSCFString bytes]: unrecognized selector sent to instance 0x600002fc62c0 -# test-rs-macos: -# runs-on: macos-latest -# env: -# RUSTFLAGS: "-D warnings" -# steps: -# - name: Install Protoc -# uses: arduino/setup-protoc@v2 -# with: -# repo-token: ${{ secrets.GITHUB_TOKEN }} -# - uses: actions/checkout@v3 -# - name: Install latest stable toolchain -# uses: actions-rs/toolchain@v1 -# with: -# toolchain: stable -# override: true -# - uses: Swatinem/rust-cache@v2 -# with: -# prefix-key: "test-macos" -# - name: version -# run: rustc --version -# - name: test -# run: cd avenger-wgpu/ && cargo test -- --nocapture -# - name: Update images -# uses: actions/upload-artifact@v4 -# with: -# name: images-macos -# path: avenger-wgpu/tests/output \ No newline at end of file + test-rs-macos: + runs-on: macos-latest + env: + RUSTFLAGS: "-D warnings" + steps: + - name: Install Protoc + uses: arduino/setup-protoc@v2 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + - uses: actions/checkout@v3 + - name: Install latest stable toolchain + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + - uses: Swatinem/rust-cache@v2 + with: + prefix-key: "test-macos" + - name: version + run: rustc --version + - name: test + run: cd avenger-wgpu/ && cargo test -- --nocapture + - name: Update images + uses: actions/upload-artifact@v4 + with: + name: images-macos + path: avenger-wgpu/tests/output \ No newline at end of file