File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 77 - ' package-lock.json'
88 - ' action.yml'
99 - ' node_modules/**'
10+ - ' .github/workflows/test.yml'
1011
1112name : Test this action
1213
1819 matrix :
1920 build : [false, true]
2021 variant : [richfelker/musl-cross-make, userdocs/qbt-musl-cross-make]
22+ env :
23+ REPO : ${{ matrix.variant }}
2124 steps :
2225 - name : Checkout code
2326 uses : actions/checkout@v4
3639 sudo apt-get install -y make autoconf automake libtool-bin m4 wget gzip bzip2 bison g++ re2c
3740
3841 - name : Build project
42+ id : build
3943 run : |
44+ echo "source_escaped=${REPO%%/*}_${REPO##*/}" >> $GITHUB_OUTPUT
4045 echo ${{ steps.compiler.outputs.path }}
4146 ls ${{ steps.compiler.outputs.path }}
4247 wget https://raw.githubusercontent.com/pmmp/PHP-Binaries/master/compile.sh
4348 chmod a+x compile.sh
49+ trap "exit 1" ERR
4450 ./compile.sh -t android-aarch64 -x -j4 -P5 -s
51+
52+ - name : Create tarball
53+ run : |
54+ tar -czf ./PHP-Linux-aarch64-PM5.tar.gz bin
55+
56+ - name : Upload artifacts
57+ uses : actions/upload-artifact@v4
58+ if : always()
59+ with :
60+ name : Linux-PM5-${{ steps.build.outputs.source_escaped }}-${{ matrix.build }}
61+ path : |
62+ ./PHP-Linux-aarch64-PM*.tar.gz
63+ install.log
64+ compile.sh
65+ if-no-files-found : error
You can’t perform that action at this time.
0 commit comments