Skip to content

Commit

Permalink
Disable macOS build for now due to compilation error
Browse files Browse the repository at this point in the history
The current build fails to compile due to mismatching prototypes with
`interface=AGL` (the default), but works with `interface=FREEGLUT`.

For example, `interface=AGL` requires these changes to
`include/GL/glext.h` in order to compile:

```diff
-GLAPI void APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname, const GLint *params);
-GLAPI void APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint *params);
+GLAPI void APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname, GLint *params);
+GLAPI void APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname, GLuint *params);
```

that is, the last parameter is not `const` in the headers from Apple.
  • Loading branch information
zmughal committed Feb 7, 2022
1 parent f1c301b commit 5ac0b09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
coverage: true
- perl-version: '5.30'
os: windows-latest
- perl-version: '5.30'
os: macos-11
#- perl-version: '5.30'
# os: macos-11
steps:
- uses: actions/checkout@v2
- name: 'ci-dist: target-setup-perl'
Expand Down

0 comments on commit 5ac0b09

Please sign in to comment.