-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
99 additions
and
54 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 |
---|---|---|
|
@@ -14,10 +14,11 @@ jobs: | |
strategy: | ||
matrix: | ||
include: | ||
- name: Linux GCC | ||
- name: Linux GCC x64 | ||
os: ubuntu-latest | ||
compiler_cc: gcc | ||
compiler_cpp: g++ | ||
asset: caravan_linux_x64 | ||
|
||
steps: | ||
- name: Checkout | ||
|
@@ -37,10 +38,10 @@ jobs: | |
|
||
- name: Rename Executable | ||
working-directory: ./build | ||
run: mv caravan caravan_linux_x64 | ||
run: mv caravan ${{matrix.asset}} | ||
|
||
- name: Upload Executable to Release | ||
uses: AButler/[email protected] | ||
with: | ||
files: ./build/caravan_linux_x64 | ||
files: ./build/${{matrix.asset}} | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} |
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 |
---|---|---|
@@ -1,12 +1,8 @@ | ||
name: MacOS | ||
|
||
#on: | ||
# release: | ||
# types: [ created ] | ||
|
||
on: | ||
push: | ||
branches: [ "1.2.0" ] | ||
release: | ||
types: [ created ] | ||
|
||
env: | ||
BUILD_TYPE: Release | ||
|
@@ -18,10 +14,11 @@ jobs: | |
strategy: | ||
matrix: | ||
include: | ||
- name: MacOS Clang | ||
- name: MacOS Clang x64 | ||
os: macos-latest | ||
compiler_cc: clang | ||
compiler_cpp: clang++ | ||
asset: caravan_macos_x64 | ||
|
||
steps: | ||
- name: Checkout | ||
|
@@ -39,12 +36,12 @@ jobs: | |
- name: CMake Build | ||
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --target caravan | ||
|
||
#- name: Rename Executable | ||
# working-directory: ./build | ||
# run: mv caravan caravan_macos_x64 | ||
- name: Rename Executable | ||
working-directory: ./build | ||
run: mv caravan ${{matrix.asset}} | ||
|
||
#- name: Upload Executable to Release | ||
# uses: AButler/[email protected] | ||
# with: | ||
# files: ./build/caravan_macos_x64 | ||
# repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Upload Executable to Release | ||
uses: AButler/[email protected] | ||
with: | ||
files: ./build/${{matrix.asset}} | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} |
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
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 |
---|---|---|
|
@@ -14,10 +14,11 @@ jobs: | |
strategy: | ||
matrix: | ||
include: | ||
- name: Windows GCC | ||
- name: Windows GCC x64 | ||
os: windows-latest | ||
compiler_cc: gcc | ||
compiler_cpp: g++ | ||
asset: caravan_windows_x64.exe | ||
|
||
steps: | ||
- name: Checkout | ||
|
@@ -37,10 +38,10 @@ jobs: | |
|
||
- name: Rename Executable | ||
working-directory: ./build | ||
run: mv caravan.exe caravan_windows_x64.exe | ||
run: mv caravan.exe ${{matrix.asset}} | ||
|
||
- name: Upload Executable to Release | ||
uses: AButler/[email protected] | ||
with: | ||
files: ./build/caravan_windows_x64.exe | ||
files: ./build/${{matrix.asset}} | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} |
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
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