Skip to content

Commit

Permalink
Use cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
ShortDevelopment committed Jun 27, 2024
1 parent 8b76004 commit 370e2f7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 370e2f7

Please sign in to comment.