Skip to content

Commit

Permalink
Fix build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sincos2854 committed Apr 23, 2024
1 parent ed21899 commit 54ede15
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build ifswp2cm

on:
# workflow_dispatch:
workflow_dispatch:
push:
# branches: [ "main" ]
tags: ["v*"]
Expand All @@ -11,6 +11,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 1

- name: Setup cmake
uses: jwlawson/actions-setup-cmake@v2

Expand All @@ -26,12 +31,6 @@ jobs:
sudo update-alternatives --set i686-w64-mingw32-g++ /usr/bin/i686-w64-mingw32-g++-posix
sudo update-alternatives --set i686-w64-mingw32-gcc /usr/bin/i686-w64-mingw32-gcc-posix
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 1

- name: Build ifswp2cm
run: |
cmake -G Ninja -B build_32_release -DCMAKE_INSTALL_PREFIX=out_32_release -DCMAKE_BUILD_TYPE=Release -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_C_COMPILER=i686-w64-mingw32-gcc -DCMAKE_CXX_COMPILER=i686-w64-mingw32-g++
Expand Down

0 comments on commit 54ede15

Please sign in to comment.