Skip to content

Commit

Permalink
add header artficat, add to release
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerboa-app committed Oct 23, 2023
1 parent 35a71a8 commit 78fd977
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/ci-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
mkdir linux-x86_64
cp -r build/Examples linux-x86_64-examples
cp build/libjGL.a linux-x86_64/libjGL-linux-x86_64.a
mkdir headers
cp -r include/jGL/* headers
cp LICENSE linux-x86_64-examples/
cp LICENSE linux-x86_64/
Expand All @@ -39,17 +41,23 @@ jobs:
sleep 5
MESA_GL_VERSION_OVERRIDE=3.3 ctest --exclude-regex Vulkan --extra-verbose --output-on-failure
- name: buildArtifact
- name: build artifact
uses: actions/upload-artifact@v3
with:
name: linux-x86_64
path: linux-x86_64

- name: buildArtifact
- name: build examples artifact
uses: actions/upload-artifact@v3
with:
name: linux-x86_64-examples
path: linux-x86_64-examples

- name: build header artifact
uses: actions/upload-artifact@v3
with:
name: headers
path: headers


linuxXwindows:
Expand Down Expand Up @@ -125,11 +133,17 @@ jobs:
uses: actions/download-artifact@v3
with:
name: linux-x86_64

- name: get windows build
uses: actions/download-artifact@v3
with:
name: windows

- name: get headers
uses: actions/download-artifact@v3
with:
name: headers

# https://github.com/softprops/action-gh-release
- name: release
uses: softprops/action-gh-release@v1
Expand All @@ -141,6 +155,7 @@ jobs:
files: |
libjGL-linux-x86_64.a
libjGL-windows.a
headers
# - name: create release
# id: createRelease
# uses: actions/create-release@v1
Expand Down

0 comments on commit 78fd977

Please sign in to comment.