From 7c6f9c31a42d2919c26f3a96c6a98877b2bbf18a Mon Sep 17 00:00:00 2001 From: Vhyrro Date: Mon, 15 Apr 2024 16:02:15 +0200 Subject: [PATCH] fix(ci): set libflags in the appropriate locations --- .github/workflows/build-macosx-aarch64.yml | 6 +++--- .github/workflows/build-macosx-x86_64.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-macosx-aarch64.yml b/.github/workflows/build-macosx-aarch64.yml index 6d046da43..7203f0398 100644 --- a/.github/workflows/build-macosx-aarch64.yml +++ b/.github/workflows/build-macosx-aarch64.yml @@ -37,9 +37,6 @@ jobs: - name: Print environment run: | printenv - - name: "[HACK]: Set default compiler flags for MacOS systems" - run: | - luarocks config --scope=system -- variables.LIBFLAG "-std=c++11" - name: Install `LuaFileSystem` Package run: | luarocks --verbose --local --lua-version=5.1 install luafilesystem @@ -64,6 +61,9 @@ jobs: run: | luarocks --verbose --local --lua-version=5.1 install tree-sitter-orgmode luarocks --verbose pack tree-sitter-orgmode + - name: "[HACK]: Set default compiler flags for MacOS systems" + run: | + luarocks config --scope=system -- variables.LIBFLAG "-std=c++11" - name: Install `tree-sitter-norg` Package run: | luarocks --verbose --local --lua-version=5.1 install tree-sitter-norg diff --git a/.github/workflows/build-macosx-x86_64.yml b/.github/workflows/build-macosx-x86_64.yml index 3b3c5c094..9d08da439 100644 --- a/.github/workflows/build-macosx-x86_64.yml +++ b/.github/workflows/build-macosx-x86_64.yml @@ -37,9 +37,6 @@ jobs: - name: Print environment run: | printenv - - name: "[HACK]: Set default compiler flags for MacOS systems" - run: | - luarocks config --scope=system -- variables.LIBFLAG "-std=c++11" - name: Install `LuaFileSystem` Package run: | luarocks --verbose --local --lua-version=5.1 install luafilesystem @@ -64,6 +61,9 @@ jobs: run: | luarocks --verbose --local --lua-version=5.1 install tree-sitter-orgmode luarocks --verbose pack tree-sitter-orgmode + - name: "[HACK]: Set default compiler flags for MacOS systems" + run: | + luarocks config --scope=system -- variables.LIBFLAG "-std=c++11" - name: Install `tree-sitter-norg` Package run: | luarocks --verbose --local --lua-version=5.1 install tree-sitter-norg