Separate build files

This commit is contained in:
Aoran Zeng
2023-09-21 21:28:33 +08:00
parent 3b7d6d3c4f
commit fe31fdb6d3
5 changed files with 139 additions and 95 deletions

30
.github/workflows/linux-x64.yml vendored Normal file
View File

@@ -0,0 +1,30 @@
name: Linux x64 Build
on:
push:
branches: [ "gh-pipeline" ]
pull_request:
branches: [ "gh-pipeline" ]
jobs:
x64-linux-build-and-upload:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Compile chsrc x64
run: |
make CI CI_BUILD_NAME=chsrc-x64-linux
- name: List files
run: ls *-linux
- name: Release
uses: softprops/action-gh-release@v1
# if: startsWith(github.ref, 'refs/tags/')
with:
tag_name: preview
files: |
chsrc-x64-linux
token: ${{ secrets.CHSRC_UPLOAD }}