diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3d7471f..2005c76 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -72,9 +72,6 @@ jobs: - name: Build run: yarn build --target=${{ matrix.target }} - - name: Strip binary - run: strip rf.node - - name: Test run: yarn test @@ -227,9 +224,6 @@ jobs: - name: Build run: yarn build --target=${{ matrix.target }} - - name: Strip binary - run: strip -ru rf.node - # Until GH action adds M1 runners, can't run aarch64 libs - name: Test if: ${{ matrix.architecture == 'x64' }} diff --git a/Cargo.toml b/Cargo.toml index 3d45510..78936cc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,3 +34,4 @@ features = ["napi-6", "event-queue-api", "try-catch-api"] [profile.release] lto = "fat" codegen-units = 1 +strip = true