diff --git a/.github/workflows/meson.yml b/.github/workflows/meson.yml index e58feee05..156cb8d49 100644 --- a/.github/workflows/meson.yml +++ b/.github/workflows/meson.yml @@ -34,59 +34,93 @@ jobs: run: | mk/test-meson-build.sh - freebsd: - runs-on: ubuntu-latest - name: FreeBSD - steps: - - uses: actions/checkout@v4 - - name: Test in FreeBSD - id: test - uses: vmactions/freebsd-vm@v1 - with: - usesh: true - prepare: | - pkg install -y \ - bash \ - meson \ - cmake \ - cppunit \ - curl \ - freetype2 \ - fribidi \ - ftgl \ - git \ - glew \ - jpeg-turbo \ - libGLU \ - libircclient \ - libogg \ - libvorbis \ - libX11 \ - libxml2 \ - lua53 \ - mesa-libs \ - miniupnpc \ - openal-soft \ - pkgconf \ - png \ - sdl2 \ - wx30-gtk3 + #freebsd: + #runs-on: ubuntu-latest + #name: FreeBSD + #steps: + #- uses: actions/checkout@v4 + #- name: Test in FreeBSD + #id: test + #uses: vmactions/freebsd-vm@v1 + #with: + #usesh: true + #prepare: | + #pkg install -y \ + #bash \ + #meson \ + #cmake \ + #cppunit \ + #curl \ + #freetype2 \ + #fribidi \ + #ftgl \ + #git \ + #glew \ + #jpeg-turbo \ + #libGLU \ + #libircclient \ + #libogg \ + #libvorbis \ + #libX11 \ + #libxml2 \ + #lua53 \ + #mesa-libs \ + #miniupnpc \ + #openal-soft \ + #pkgconf \ + #png \ + #sdl2 \ + #wx30-gtk3 + + #run: | + #git config --global --add safe.directory /home/runner/work/megaglest-source/megaglest-source + #cd /usr/local/bin + #ln -s wxgtk3u-3.0-config wx-config + #cd - + #mk/test-meson-build.sh - run: | - git config --global --add safe.directory /home/runner/work/megaglest-source/megaglest-source - cd /usr/local/bin - ln -s wxgtk3u-3.0-config wx-config - cd - - mk/test-meson-build.sh + #macos: + #runs-on: macos-latest + #steps: + #- uses: actions/checkout@v4 - macos: - runs-on: macos-latest + #- name: Get dependencies + #run: | + #mk/macos/setupBuildDeps.sh + + #- name: Build MegaGlest With Clang Compiler + #run: | + #mk/test-meson-build.sh + + MSYS: + runs-on: windows-latest steps: - uses: actions/checkout@v4 + - uses: msys2/setup-msys2@v2 + with: + msystem: MSYS + install: >- + bison + dos2unix + flex + git + pacboy: >- + gcc:p + cmake:p + ninja:p + pkgconf:p + python-certifi:p + python-pip:p + pacman: >- + mingw-w64-libpng + mingw-w64-SDL2 + # Make sure Python is updated to >=3.11 (fix https://github.com/msys2/MINGW-packages/issues/17415). + update: true - - name: Get dependencies + - name: Install packages + shell: msys2 {0} run: | - mk/macos/setupBuildDeps.sh + python -m pip install git+https://github.com/mesonbuild/meson - name: Build MegaGlest With Clang Compiler run: |