File tree Expand file tree Collapse file tree 1 file changed +7
-32
lines changed
Expand file tree Collapse file tree 1 file changed +7
-32
lines changed Original file line number Diff line number Diff line change 2828 pull_request :
2929
3030jobs :
31- build-smart-apps :
32- runs-on : ubuntu-latest
33- strategy :
34- matrix :
35- arch :
36- - aarch64
37- - arm
38- - riscv64gc
39-
40- steps :
41- - name : ⬇️ checkout
42- uses : actions/checkout@v3
43- with :
44- submodules : true
45-
46- - name : ⬇️ install xmake
47- uses : xmake-io/github-action-setup-xmake@v1
48-
49- - name : 👷 build
50- shell : bash
51- run : |
52- export XMAKE_ROOT=y # Only need to use "--root" in CI
53- xmake --version
54- source env.sh
55- pushd apps
56- xmake f -a ${{ matrix.arch }} -vyD
57- xmake -j$(nproc) -vyD
58- xmake smart-rootfs -vD
59- xmake smart-image -f ext4 -vD -o build/${{ matrix.arch }}-ext4.img
60- popd
61-
6231 build-linux-apps :
6332 runs-on : ubuntu-latest
6433 strategy :
8554 export XMAKE_ROOT=y # Only need to use "--root" in CI
8655 xmake --version
8756 source env.sh
88- pushd apps/${{ matrix.app }}
57+ pushd apps
58+ cat > apps.lua << EOF
59+ local packagefile = path.join(path.join(os.scriptdir(), "${{ matrix.app }}"), "xmake.lua")
60+ if os.isfile(packagefile) then
61+ includes(packagefile)
62+ end
63+ EOF
8964 xmake f -a x86_64 --target_os=linux -vyD
9065 xmake -j$(nproc) -vyD -P .
9166 popd
You can’t perform that action at this time.
0 commit comments