From 590f0043bd7e248aa1c2d612621bae8e170f6549 Mon Sep 17 00:00:00 2001 From: Wang Rongfei Date: Sat, 20 Apr 2024 17:24:42 +0800 Subject: [PATCH] ci: i hate ci --- .github/workflows/build.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cf9a997..a338fb5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,7 @@ jobs: - name: lite-xl make_opts: - name: pragtical - make_opts: "'LTS_CFLAGS=-std=c11 -Wall -Wextra -Werror -DPRAGTICAL'" + make_opts: "'LTS_CFLAGS=-std=c11 -DPRAGTICAL'" defaults: run: shell: msys2 {0} @@ -47,7 +47,7 @@ jobs: - name: lite-xl make_opts: - name: pragtical - make_opts: "'LTS_CFLAGS=-std=c11 -Wall -Wextra -DPRAGTICAL'" + make_opts: "'LTS_CFLAGS=-std=c11 -DPRAGTICAL'" arch: - name: x86_64 cc: gcc @@ -81,7 +81,7 @@ jobs: - name: lite-xl make_opts: - name: pragtical - make_opts: "'CFLAGS=-std=c11 -Wall -Wextra -Werror -DPRAGTICAL'" + make_opts: "'LTS_CFLAGS=-std=c11 -DPRAGTICAL'" arch: - name: x86_64 cc: gcc @@ -92,12 +92,8 @@ jobs: uses: actions/checkout@v4 with: submodules: recursive - - name: Install Brew - run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" - - name: Install CC - run: env NONINTERACTIVE=1 brew install ${{ matrix.arch.cc }} - name: Build - run: /bin/bash make.sh lua_tree_sitter.so CC=${{ matrix.arch.cc }} ${{ matrix.editor.make_opts }} + run: bash make.sh lua_tree_sitter.so ${{ matrix.editor.make_opts }} - name: Upload artifact uses: actions/upload-artifact@v4 with: