diff --git a/.gitea/workflows/ci_meson.yaml b/.gitea/workflows/ci_meson.yaml index a989b9e..cf70790 100644 --- a/.gitea/workflows/ci_meson.yaml +++ b/.gitea/workflows/ci_meson.yaml @@ -1,4 +1,4 @@ -name: CI Meson +name: Ubuntu Cross to Win64 on: push: @@ -17,13 +17,12 @@ on: jobs: build: - name: Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} + name: Cross Compile with ming64 runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04] + os: [ubuntu-latest] meson_version: ["1.4.0"] - comp: [gcc, clang] steps: - name: Checkout Code uses: https://gitea.com/ScMi1/checkout@v1 @@ -36,13 +35,11 @@ jobs: - name: Install APT Dependencies run: | apt update -y - apt install -y cmake clang build-essential libwayland-dev libxkbcommon-dev xorg-dev + apt install -y cmake clang build-essential libwayland-dev libxkbcommon-dev xorg-dev mingw-w64 wine-stable - name: Configure Project run: | ./scripts/download_dxc.sh - meson setup build - env: - CC: ${{ matrix.comp }} + meson setup --cross-file scripts/x86_64-w64-mingw32.txt build - name: Compile run: meson compile -C build - name: Run Tests