mirror of
https://github.com/ravenscroftj/turbopilot.git
synced 2024-06-28 23:32:20 +00:00
correct build processes
This commit is contained in:
parent
7d5988acbd
commit
4c3bee1160
|
@ -143,12 +143,20 @@ jobs:
|
|||
cd ${{github.workspace}}/ggml/build/bin
|
||||
zip turbopilot-${{ runner.os }}-${{ runner.arch }}-${{ matrix.build }}.zip ./codegen*
|
||||
|
||||
- name: Convert backslashes
|
||||
id: convert_backslashes
|
||||
run: |
|
||||
$path = $env:GITHUB_WORKSPACE -replace '\\', '/'
|
||||
echo "Converted path: $path"
|
||||
echo "::set-output name=converted_path::$path"
|
||||
|
||||
|
||||
- name: Upload binaries to release
|
||||
uses: softprops/action-gh-release@v1
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
token: ${{ secrets.PUBLISH_TOKEN }}
|
||||
files: ${{github.workspace}}/ggml/build/bin/turbopilot-${{ runner.os }}-${{ runner.arch }}-${{ matrix.build }}.zip
|
||||
files: ${{ steps.convert_backslashes.outputs.converted_path }}/ggml/build/bin/turbopilot-${{ runner.os }}-${{ runner.arch }}-${{ matrix.build }}.zip
|
||||
|
||||
windows-latest-cmake:
|
||||
runs-on: windows-latest
|
46
.github/workflows/test.yml
vendored
46
.github/workflows/test.yml
vendored
|
@ -1,46 +0,0 @@
|
|||
name: Build on Commit
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ '**' ]
|
||||
tags: ['**']
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
env:
|
||||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
|
||||
BUILD_TYPE: Release
|
||||
|
||||
jobs:
|
||||
|
||||
|
||||
test:
|
||||
runs-on: windows-latest
|
||||
|
||||
|
||||
steps:
|
||||
- name: Clone
|
||||
id: checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
- name: package artifacts for release
|
||||
|
||||
run: |
|
||||
cd ${{github.workspace}}\ggml
|
||||
7z a ${{github.workspace}}\ggml\turbopilot-${{ runner.os }}-${{ runner.arch }}.zip *.md
|
||||
|
||||
- name: Convert backslashes
|
||||
id: convert_backslashes
|
||||
run: |
|
||||
$path = $env:GITHUB_WORKSPACE -replace '\\', '/'
|
||||
echo "Converted path: $path"
|
||||
echo "::set-output name=converted_path::$path"
|
||||
|
||||
|
||||
- name: Upload binaries to release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
token: ${{ secrets.PUBLISH_TOKEN }}
|
||||
files: ${{ steps.convert_backslashes.outputs.converted_path }}/ggml/turbopilot-${{ runner.os }}-${{ runner.arch }}.zip
|
Loading…
Reference in New Issue
Block a user