mirror of
https://github.com/Alcaro/Flips.git
synced 2026-04-25 07:21:57 -05:00
fourth time's the charm?
This commit is contained in:
parent
b0903a800f
commit
b70f373267
6
.github/workflows/build-optimized.yml
vendored
6
.github/workflows/build-optimized.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
23
.github/workflows/build-unoptimized.yml
vendored
23
.github/workflows/build-unoptimized.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user