Skip to content

Commit 24e1866

Browse files
committed
ci: build arclite only for x86-64
1 parent 93324de commit 24e1866

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,9 @@ jobs:
203203
SHA: ${{ github.event_name == 'repository_dispatch' && github.event.client_payload.sha || needs.check.outputs.sha }}
204204
TAG: ${{ github.event_name == 'repository_dispatch' && github.event.client_payload.tag || needs.check.outputs.tag }}
205205
PLUGINS_EXTRA: false
206-
run: bash build_far2l.sh
206+
run: |
207+
export ARCH=$(uname -m)
208+
bash build_far2l.sh
207209
208210
- name: Build AppImage
209211
env:

build_far2l.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ fi
1212
if [[ "$WXGUI" == "false" ]]; then
1313
CMAKE_OPTS+=( "-DUSEWX=no" )
1414
fi
15+
if [[ "$ARCH" != "x86_64" ]]; then
16+
CMAKE_OPTS+=( "-DARCLITE=no" )
17+
fi
1518
if [[ "$PLUGINS_EXTRA" == "true" ]]; then
1619
( cd $REPO_DIR/far2l
1720
for plug in netcfgplugin sqlplugin processes ; do
@@ -23,7 +26,7 @@ if [[ "$PLUGINS_EXTRA" == "true" ]]; then
2326
done )
2427
fi
2528
if [[ "$PLUGINS" == "false" ]]; then
26-
CMAKE_OPTS+=( "-DCOLORER=no -DNETROCKS=no -DALIGN=no -DAUTOWRAP=no -DCALC=no \
29+
CMAKE_OPTS+=( "-DARCLITE=no -DCOLORER=no -DNETROCKS=no -DALIGN=no -DAUTOWRAP=no -DCALC=no \
2730
-DCOMPARE=no -DDRAWLINE=no -DEDITCASE=no -DEDITORCOMP=no -DFILECASE=no \
2831
-DINCSRCH=no -DINSIDE=no -DMULTIARC=no -DSIMPLEINDENT=no -DTMPPANEL=no" )
2932
fi

0 commit comments

Comments
 (0)