Compare commits

...
2 Commits
Author SHA1 Message Date
Nick Chan 71240fb719 Accept --cli in CLI only builds for compatibility 2024-07-22 14:01:42 +08:00
Nick Chan 006518db3d actions: Remove TUI=1 from make 2024-07-22 01:44:01 +08:00
2 changed files with 5 additions and 5 deletions

No files matched your search

+3 -3
View File
@@ -309,7 +309,7 @@ jobs:
cp -a sysroot/${{ env.PREFIX }}/{include,lib} dep_root
find dep_root -name '*.dylib' -delete
find dep_root -name '*.la' -delete
gmake -j$(sysctl -n hw.ncpu) TUI=1
gmake -j$(sysctl -n hw.ncpu) ROOTFUL=1
cp src/palera1n palera1n-${{ matrix.os }}-${{ matrix.arch }}
dsymutil palera1n-${{ matrix.os }}-${{ matrix.arch }}
strip palera1n-${{ matrix.os }}-${{ matrix.arch }}
@@ -794,7 +794,7 @@ jobs:
cp -a ${{ env.DESTDIR }}/${{ env.PREFIX }}/{include,lib} dep_root
find dep_root -name '*.so' -delete
find dep_root -name '*.la' -delete
CC="${{ matrix.triple }}-gcc" make -j$(nproc) TUI=1
CC="${{ matrix.triple }}-gcc" make -j$(nproc) ROOTFUL=1
cp src/palera1n palera1n.release
- name: Seperate debug symbols
@@ -807,7 +807,7 @@ jobs:
- name: Build palera1n (Development)
run: |
CC="${{ matrix.triple }}-gcc" make -j$(nproc) clean
CC="${{ matrix.triple }}-gcc" make -j$(nproc) DEV_BUILD=1 TUI=1 ROOTFUL=1
CC="${{ matrix.triple }}-gcc" make -j$(nproc) DEV_BUILD=1 ROOTFUL=1
cp src/palera1n palera1n.development
- name: Prepare artifact
+2 -2
View File
@@ -57,8 +57,8 @@ static struct option longopts[] = {
#endif
#ifdef TUI
{"tui", no_argument, NULL, 't'},
{"cli", no_argument, NULL, palerain_option_case_cli},
#endif
{"cli", no_argument, NULL, palerain_option_case_cli},
{NULL, 0, NULL, 0}
};
@@ -313,10 +313,10 @@ int optparse(int argc, char* argv[]) {
case 't':
palerain_flags |= palerain_option_tui;
break;
#endif
case palerain_option_case_cli:
palerain_flags |= palerain_option_cli;
break;
#endif
#ifdef DEV_BUILD
case '1':
palerain_flags |= palerain_option_test1;