mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-06-06 11:22:27 +00:00
Fixing build CI
This commit is contained in:
@@ -10,7 +10,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Building:
|
Building:
|
||||||
runs-on: [ubuntu-18.04]
|
runs-on: ubuntu-18.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
@@ -31,9 +31,9 @@ jobs:
|
|||||||
- name: Build Makefile with CMake
|
- name: Build Makefile with CMake
|
||||||
run: mkdir -p build && cd build && cmake ..
|
run: mkdir -p build && cd build && cmake ..
|
||||||
- name: Build with Makefile
|
- name: Build with Makefile
|
||||||
run: make -C build ComSquare
|
run: make -C build comsquare
|
||||||
- name: Archive production artifact
|
- name: Archive production artifact
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: ComSquare
|
name: comsquare
|
||||||
path: build/ComSquare
|
path: build/comsquare
|
||||||
|
|||||||
@@ -29,11 +29,11 @@ jobs:
|
|||||||
cmake .. -G "MinGW Makefiles" -DCMAKE_SH="CMAKE_SH-NOTFOUND" -DGITBUILD=true
|
cmake .. -G "MinGW Makefiles" -DCMAKE_SH="CMAKE_SH-NOTFOUND" -DGITBUILD=true
|
||||||
- name: Build with Makefile
|
- name: Build with Makefile
|
||||||
run: |
|
run: |
|
||||||
mingw32-make -C build ComSquare
|
mingw32-make -C build comsquare
|
||||||
- name: Clean up
|
- name: Clean up
|
||||||
run: |
|
run: |
|
||||||
Set-Location build
|
Set-Location build
|
||||||
Remove-Item -Recurse -Path * -Exclude ComSquare.exe,bin,bin/*
|
Remove-Item -Recurse -Path * -Exclude comsquare.exe,bin,bin/*
|
||||||
- name: Copy shared libs
|
- name: Copy shared libs
|
||||||
run: |
|
run: |
|
||||||
Copy-Item -Path build\bin\*.dll -Destination build
|
Copy-Item -Path build\bin\*.dll -Destination build
|
||||||
@@ -41,5 +41,5 @@ jobs:
|
|||||||
- name: Archive production artifact
|
- name: Archive production artifact
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: ComSquare-Windows
|
name: comsquare-Windows
|
||||||
path: build/
|
path: build/
|
||||||
|
|||||||
Reference in New Issue
Block a user