diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0c1b5d7d..7e05d58c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,5 +13,16 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Install depenencies + run: | + sudo apt-get update + sudo apt-get install luajit libluajit-5.1-dev libjavascriptcoregtk-4.0-dev libwebkit2gtk-4.1-dev libgtk-3-dev libglib2.0-dev luarocks + - name: Install lua dependencies + run: | + sudo luarocks --lua-version 5.1 install luafilesystem + sudo luarocks --lua-version 5.1 install luassert + sudo luarocks --lua-version 5.1 install luacheck + - name: make + run: make - name: make run-tests run: make run-tests diff --git a/clib/unique.c b/clib/unique.c index e4cbbd97..8d389f1b 100644 --- a/clib/unique.c +++ b/clib/unique.c @@ -78,7 +78,7 @@ luaH_unique_new(lua_State *L) GError *error = NULL; if (!globalconf.application) { -#if GTK_CHECK_VERSION(2,74,0) +#if GLIB_CHECK_VERSION(2,74,0) globalconf.application = gtk_application_new(name, G_APPLICATION_DEFAULT_FLAGS); #else globalconf.application = gtk_application_new(name, G_APPLICATION_FLAGS_NONE);