Commit b8b64890 authored by Amos Wenger's avatar Amos Wenger

Add linux-opengl-ld test

parent c297d599
Pipeline #13897 passed with stage
in 19 minutes and 36 seconds
......@@ -220,6 +220,10 @@ async function ci_compile_linux(arch) {
platform,
strip: true,
tests: [
{
name: "linux-opengl-ld",
platform
},
{
name: "linux-opengl-dlopen",
platform
......
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
[[package]]
name = "linux-opengl-ld"
version = "0.1.0"
[package]
name = "linux-opengl-ld"
version = "0.1.0"
authors = ["Amos Wenger <amoswenger@gmail.com>"]
edition = "2018"
[dependencies]
#[link(name = "GL")]
extern "C" {
fn glXSwapBuffers(dpy: *const i8, drawable: u64);
}
fn main() {
unsafe {
glXSwapBuffers(0xDEADBEEF as *const i8, 0);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment