fourth time's the charm?

This commit is contained in:
Sir Walrus 2025-01-28 07:46:49 +01:00
parent b0903a800f
commit b70f373267
2 changed files with 20 additions and 9 deletions

View File

@ -70,11 +70,13 @@ jobs:
uses: actions/download-artifact@v4
with:
path: builds/
- name: Acquire license
uses: actions/checkout@v4
- name: Create zips
run: |
mv builds/linux-x64-gui.zip/{flips,COPYING,COPYING-gpl3} .
mv builds/linux-x64-gui.zip/flips flips
zip -9 ./flips-linux.zip flips COPYING COPYING.gpl3
mv builds/windows-x64-gui.zip/flips.exe .
mv builds/windows-x64-gui.zip/flips.exe flips.exe
zip -9 ./flips-windows.zip flips.exe COPYING COPYING.gpl3
#mv builds/macos-m1-gui.zip/flips flips-mac
#zip -9 ./flips-macos.zip flips-mac COPYING COPYING.gpl3

View File

@ -15,6 +15,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
filter: tree:0
- name: Dependencies
run: sudo apt -y install libgtk-3-dev
- name: Make target ${{ matrix.target }}
@ -26,20 +29,26 @@ jobs:
target: ['gtk', 'cli']
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Dependencies
run: brew install gtk+3 libomp llvm
- name: Make target ${{ matrix.target }}
# Using brew's llvm, because apple's does not support -fopenmp
run: CXX=/opt/homebrew/opt/llvm/bin/clang++ TARGET=${{ matrix.target }} make
- uses: actions/checkout@v4
with:
fetch-depth: 0
filter: tree:0
- name: Dependencies
run: brew install gtk+3 libomp llvm
- name: Make target ${{ matrix.target }}
# Using brew's llvm, because apple's does not support -fopenmp
run: CXX=/opt/homebrew/opt/llvm/bin/clang++ TARGET=${{ matrix.target }} make
windows:
strategy:
matrix:
matrix:
target: ['windows', 'cli']
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
filter: tree:0
# Build using MSVC. It currently warns on a bit of stuff because apparently -Wall warns on basically everything
# Also yes, using mvsc requires either shenanigans or a seperate action.
- uses: ilammy/msvc-dev-cmd@v1