diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3379550..4df79dc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,7 +40,12 @@ jobs: - name: Create directories run: mkdir -p runtimes/linux-x64/native/ - name: Build x64 - run: gcc src/src/LercLib/**/*.cpp -Wall -std=c++17 -fPIC -O3 -s -Wl,-soname,libLerc.so.4 -o runtimes/linux-x64/native/libLerc.so.4 -shared -m64 + run: | + mkdir tmp + cd tmp + cmake ../src + make + cp *.so.* ../runtimes/linux-x64/native/ - name: Upload artifacts uses: actions/upload-artifact@v4