Fixing build CI

This commit is contained in:
Zoe Roux
2021-07-06 23:30:08 +02:00
parent 2bd63a8455
commit 4cf32f7e57
2 changed files with 7 additions and 7 deletions
+4 -4
View File
@@ -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
+3 -3
View File
@@ -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/