Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/Linux.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Linux

on: [push, pull_request]
on:
push:
branches:
- main
pull_request:

jobs:
build:
Expand Down
24 changes: 14 additions & 10 deletions .github/workflows/MSYS.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: MSYS2 (MingW)

on: [push, pull_request]
on:
push:
branches:
- main
pull_request:

jobs:
build:
Expand All @@ -10,7 +14,7 @@ jobs:
matrix:
include: [
{ msystem: CLANG64, arch: x86_64, prefix: /clang64 },
{ msystem: CLANG32, arch: i686, prefix: /clang32 }
# { msystem: CLANG32, arch: i686, prefix: /clang32 }
]

steps:
Expand All @@ -25,20 +29,20 @@ jobs:
with:
msystem: ${{ matrix.msystem }}
path-type: inherit
install: git base-devel binutils unzip mingw-w64-clang-${{ matrix.arch }}-toolchain mingw-w64-clang-${{ matrix.arch }}-cmake mingw-w64-clang-${{ matrix.arch }}-qt5-base mingw-w64-clang-${{ matrix.arch }}-qt5-declarative
install: git base-devel binutils unzip mingw-w64-clang-${{ matrix.arch }}-toolchain mingw-w64-clang-${{ matrix.arch }}-cmake mingw-w64-clang-${{ matrix.arch }}-qt6-base mingw-w64-clang-${{ matrix.arch }}-qt6-declarative
update: true

- name: Move Checkout
run: |
Copy-Item -Path ".\temp" -Destination "C:\_" -Recurse

- name: Build & Tests (x86)
shell: msys2 {0}
if: ${{ matrix.arch == 'i686' }}
run: |
cd /C/_
zig build cmake
zig build -Dtarget=x86-windows --summary all -freference-trace
# - name: Build & Tests (x86)
# shell: msys2 {0}
# if: ${{ matrix.arch == 'i686' }}
# run: |
# cd /C/_
# zig build cmake
# zig build -Dtarget=x86-windows --summary all -freference-trace

- name: Build & Tests (x86_x64)
shell: msys2 {0}
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/MacOS.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: MacOS

on: [push, pull_request]
on:
push:
branches:
- main
pull_request:

jobs:
build:
Expand All @@ -13,14 +17,14 @@ jobs:
- uses: mlugg/setup-zig@v1
- name: Install
run: brew install cmake
- uses: jurplel/install-qt-action@v3
- uses: jurplel/install-qt-action@v4
with:
version: 5.15.2
version: 6.8.2
dir: '${{ github.workspace }}/build/'

- name: Build & Tests
run: |
QTDIR="$GITHUB_WORKSPACE/build/Qt/5.15.2/clang_64" && \
QTDIR="$GITHUB_WORKSPACE/build/Qt/6.8.2/clang_64" && \
PATH="${QTDIR}/bin:$PATH" && LDFLAGS=-L${QTDIR}/lib && \
CPPFLAGS=-I${QTDIR}/include && \
zig build cmake && \
Expand Down