Skip to content

Commit

Permalink
Basic linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
ShortDevelopment committed Jun 27, 2024
1 parent eaa36e2 commit 8b76004
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,22 @@ jobs:
with:
name: windows
path: runtimes/

linux:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: "true"

- 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

- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: linux
path: runtimes/

0 comments on commit 8b76004

Please sign in to comment.