From a57793823bbe965d6634a4f97f190c9a0faeca33 Mon Sep 17 00:00:00 2001 From: GsLogimaker Date: Thu, 16 May 2024 13:50:33 -0500 Subject: [PATCH] Update unittests.yml --- .github/workflows/unittests.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index 1400856..600fa55 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -60,20 +60,21 @@ jobs: - name: 🦀 Build Rust code run: | cargo build \ - --release \ + # --release \ --manifest-path ./addons/glecs/rust/glecs/Cargo.toml \ --features compile_bindings \ --target-dir ./addons/glecs/bin \ --target ${{ matrix.target }} # Copy library for use in test suite - cp -r ./addons/glecs/bin/${TARGET}/release ./addons/glecs/bin/debug + cp -r ./addons/glecs/bin/${TARGET}/debug ./addons/glecs/bin/debug + # cp -r ./addons/glecs/bin/${TARGET}/release ./addons/glecs/bin/debug - name: 💾 Cache compiled library uses: actions/cache/save@v4.0.2 with: # A list of files, directories, and wildcard patterns to cache and restore - path: ./addons/glecs/bin/${{ matrix.target }}/release/${{ matrix.glecs_lib }} + path: ./addons/glecs/bin/${{ matrix.target }}/debug/${{ matrix.glecs_lib }} # An explicit key for restoring and saving the cache key: glecslib.${{ matrix.target }} @@ -113,8 +114,8 @@ jobs: run: | mkdir ./addons/glecs/bin/release/ mkdir ./addons/glecs/bin/debug/ - cp ./addons/glecs/bin/${{ matrix.target }}/release/${{ matrix.glecs_lib }} ./addons/glecs/bin/release/${{ matrix.glecs_lib }} - cp ./addons/glecs/bin/${{ matrix.target }}/release/${{ matrix.glecs_lib }} ./addons/glecs/bin/debug/${{ matrix.glecs_lib }} + cp ./addons/glecs/bin/${{ matrix.target }}/debug/${{ matrix.glecs_lib }} ./addons/glecs/bin/release/${{ matrix.glecs_lib }} + cp ./addons/glecs/bin/${{ matrix.target }}/debug/${{ matrix.glecs_lib }} ./addons/glecs/bin/debug/${{ matrix.glecs_lib }} - name: 🤖 Run Godot unit tests id: run-godot-tests