Skip to content

Commit

Permalink
uptest
Browse files Browse the repository at this point in the history
  • Loading branch information
yonielwest committed Feb 22, 2024
1 parent 4dab284 commit d7caa1d
Showing 1 changed file with 7 additions and 20 deletions.
27 changes: 7 additions & 20 deletions .github/workflows/cmake-multi-platform-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,32 +22,19 @@ jobs:
- name: Configure
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}

- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
draft: false
prerelease: false

- name: Create zip
run: zip -r gpupixel_linux_amd64.zip ${{github.workspace}}/output
run: zip -r gpupixel_linux_x86_64.zip ${{github.workspace}}/output

- name: Upload library
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./gpupixel_linux_amd64.zip
asset_name: gpupixel_linux_amd64.zip
asset_content_type: application/gzip
name: gpupixel_linux_x86_64.zip
path: ${{ github.workspace }}/gpupixel_linux_x86_64.zip


build-macos-clang:
name: macOS (Universal)
Expand Down

0 comments on commit d7caa1d

Please sign in to comment.