All checks were successful
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Successful in 1m26s
50 lines
1.6 KiB
YAML
50 lines
1.6 KiB
YAML
name: Ubuntu Cross to Win64
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- "**.c"
|
|
- "**.cpp"
|
|
- "**.h"
|
|
- "**.hpp"
|
|
- ".gitea/workflows/ci_meson.yaml"
|
|
pull_request:
|
|
paths:
|
|
- "**.c"
|
|
- "**.cpp"
|
|
- "**.h"
|
|
- "**.hpp"
|
|
|
|
jobs:
|
|
build:
|
|
name: Cross Compile with ming64
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest]
|
|
meson_version: ["1.4.0"]
|
|
steps:
|
|
- name: Checkout Code
|
|
uses: https://gitea.com/ScMi1/checkout@v1
|
|
- name: Install APT Dependencies
|
|
run: |
|
|
apt update -y
|
|
apt install -y python3-pip cmake clang build-essential libwayland-dev libxkbcommon-dev xorg-dev mingw-w64 mingw-w64-common wine-stable
|
|
- name: Install PIP Dependencies
|
|
run: python -m pip install meson==${{ matrix.meson_version }} ninja
|
|
- name: Configure Project
|
|
run: |
|
|
chmod +x ./scripts/download_dxc_cross.sh
|
|
./scripts/download_dxc_cross.sh
|
|
meson setup --cross-file scripts/x86_64-w64-mingw32.txt -Db_sanitize=none build
|
|
- name: Compile
|
|
run: meson compile -C build
|
|
- name: Run Tests
|
|
run: meson test -C build/ -v
|
|
- name: Upload Test Log
|
|
uses: actions/upload-artifact@v4
|
|
if: failure()
|
|
with:
|
|
name: ${{ matrix.os }}_Meson_Testlog
|
|
path: build/meson-logs/testlog.txt
|