Skip to content

Commit

Permalink
Fix upload?
Browse files Browse the repository at this point in the history
  • Loading branch information
lukebemish committed Jul 16, 2024
1 parent eb15e44 commit 94cbad9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ jobs:
shell: msys2 {0}
run: cmake --build cmakebuild --config ${{ matrix.build_type }}
- uses: actions/upload-artifact@v4
if: ${{ matrix.os == 'windows' }}
if: ${{ matrix.msys }}
with:
name: ${{ matrix.os }}-${{ matrix.arch }}
path: cmakebuild/${{ matrix.build_type }}/${{ matrix.libname }}
- uses: actions/upload-artifact@v4
if: ${{ matrix.os != 'windows' }}
if: ${{ !matrix.msys }}
with:
name: ${{ matrix.os }}-${{ matrix.arch }}
path: cmakebuild/${{ matrix.libname }}
Expand Down
1 change: 1 addition & 0 deletions toolchains/windows-aarch64.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
set(CMAKE_SYSTEM_NAME Windows)
set(CMAKE_C_COMPILER clang)
set(CMAKE_CXX_COMPILER clang++)
set(CMAKE_STATIC_LIBRARY_PREFIX "")
set(CMAKE_C_FLAGS "-march=armv8-a")
set(CMAKE_CXX_FLAGS "-march=armv8-a")
1 change: 1 addition & 0 deletions toolchains/windows-i386.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
set(CMAKE_SYSTEM_NAME Windows)
set(CMAKE_C_COMPILER i686-w64-mingw32-gcc-win32)
set(CMAKE_CXX_COMPILER i686-w64-mingw32-g++-win32)
set(CMAKE_STATIC_LIBRARY_PREFIX "")
set(CMAKE_C_FLAGS "-m32 -march=i386")
set(CMAKE_CXX_FLAGS "-m32 -march=i386")
1 change: 1 addition & 0 deletions toolchains/windows-x86_64.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
set(CMAKE_SYSTEM_NAME Windows)
set(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc-win32)
set(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++-win32)
set(CMAKE_STATIC_LIBRARY_PREFIX "")
set(CMAKE_C_FLAGS "-m64")
set(CMAKE_CXX_FLAGS "-m64")

0 comments on commit 94cbad9

Please sign in to comment.