Skip to content

Commit

Permalink
[Workflows] Updated build-release-windows workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nixxoq committed May 11, 2024
1 parent ce687b7 commit d10cb74
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-debug-windows-win32.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
cmake --build . --config Debug
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "Debug"
path: '${{github.workspace}}/build/Debug'
2 changes: 1 addition & 1 deletion .github/workflows/build-debug-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
cmake --build . --config Debug
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "Debug"
path: '${{github.workspace}}/build/Debug'
2 changes: 1 addition & 1 deletion .github/workflows/build-release-windows-win32.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
cmake --build . --config Release
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "Debug"
path: '${{github.workspace}}/build/Release'
16 changes: 10 additions & 6 deletions .github/workflows/build-release-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,26 @@ on:

jobs:
build:
runs-on: windows-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Installing pre-requisites
run: sudo apt-get install -y gcc-mingw-w64-i686 cmake


- name: Building
shell: bash
env:
CXX: cl.exe
# shell: bash
# env:
# CXX: cl.exe
run: |
mkdir build
cd build
cmake ..
cmake --build . --config Release
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "Release"
path: '${{github.workspace}}/build/Release'

0 comments on commit d10cb74

Please sign in to comment.