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