-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update build.yml * Update build.yml * Update build.yml * Update build.yml --------- Co-authored-by: gangatp <[email protected]>
- Loading branch information
1 parent
4237585
commit f8cfe6c
Showing
1 changed file
with
42 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,47 +2,70 @@ on: [push, pull_request] | |
name: Build | ||
jobs: | ||
build-linux: | ||
runs-on: ubuntu-18.04 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- run: sh build.sh | ||
working-directory: ./Build | ||
build-macos: | ||
runs-on: macos-10.15 | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- run: sh build.sh | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: '1.23.2' | ||
- run: ./build.sh | ||
working-directory: ./Build | ||
build-windows: | ||
runs-on: windows-2019 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- run: ./build.bat | ||
working-directory: ./Build | ||
- name: Upload Windows Binary | ||
uses: actions/upload-artifact@v2 | ||
- name: Upload Windows 64bit Binary | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: act.win64.exe | ||
path: act.win64.exe | ||
- name: Upload Windows 32bit Binary | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: act.exe | ||
path: act.exe | ||
name: act.win32.exe | ||
path: act.win32.exe | ||
- name: Upload MacOS Binary | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: act.darwin | ||
path: act.darwin | ||
- name: Upload Linux Binary | ||
uses: actions/upload-artifact@v2 | ||
- name: Upload MacOS ARM Binary | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: act.arm.darwin | ||
path: act.arm.darwin | ||
- name: Upload Linux 32bit Binary | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: act.linux32 | ||
path: act.linux32 | ||
- name: Upload Linux ARM 32bit Binary | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: act.arm.linux32 | ||
path: act.arm.linux32 | ||
- name: Upload Linux 64bit Binary | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: act.linux | ||
path: act.linux | ||
- name: Upload Linux Arm Binary | ||
uses: actions/upload-artifact@v2 | ||
name: act.linux64 | ||
path: act.linux64 | ||
- name: Upload Linux ARM 64bit Binary | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: act.arm.linux | ||
path: act.arm.linux | ||
name: act.arm.linux64 | ||
path: act.arm.linux64 | ||
|