Skip to content

CI updates #309

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
os:
- ubuntu-18.04
- ubuntu-22.04
compiler:
- gcc
- clang
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- '-Dglx=no'
- '-Degl=no'
- '-Dx11=false'
runs-on: macos-10.15
runs-on: macos-14
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/msvc-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,15 @@ jobs:
- uses: actions/checkout@master
- uses: actions/setup-python@v1
- uses: seanmiddleditch/gha-setup-vsdevenv@master
- uses: BSFishy/[email protected].1
- uses: BSFishy/[email protected].3
with:
action: test
directory: _build
options: --verbose --fatal-meson-warnings
setup-options: --fatal-meson-warnings
options: --verbose
meson-version: 0.54.3
- uses: actions/upload-artifact@v4
if: failure()
with:
name: msvc-ci
path: _build/meson-logs/
18 changes: 16 additions & 2 deletions .github/workflows/msys2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,24 @@ jobs:
- uses: actions/checkout@master
- uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
msystem: UCRT64
update: true
install: base-devel git mingw-w64-x86_64-meson mingw-w64-x86_64-ninja mingw-w64-x86_64-pkg-config mingw-w64-x86_64-python3 mingw-w64-x86_64-python3-pip mingw-w64-x86_64-toolchain
install: >-
base-devel
git
mingw-w64-ucrt-x86_64-meson
mingw-w64-ucrt-x86_64-ninja
mingw-w64-ucrt-x86_64-pkg-config
mingw-w64-ucrt-x86_64-python
mingw-w64-ucrt-x86_64-python-pip
mingw-w64-ucrt-x86_64-toolchain
- name: Build
run: |
meson setup _build
meson compile -C _build
meson test -C _build
- uses: actions/upload-artifact@v4
if: failure()
with:
name: msys2-ci
path: _build/meson-logs/
2 changes: 2 additions & 0 deletions test/wgl_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ make_window_and_test(int (*callback)(HDC hdc))
exit(1);
}

LoadLibrary ("OPENGL32.DLL");

/* create window */
hwnd = CreateWindow(class_name, window_name,
WS_OVERLAPPEDWINDOW | WS_CLIPCHILDREN | WS_CLIPSIBLINGS,
Expand Down