Skip to content

Commit

Permalink
waow
Browse files Browse the repository at this point in the history
Signed-off-by: swurl <[email protected]>
  • Loading branch information
crueter committed Jan 9, 2024
1 parent d594d1c commit 19f7d81
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,19 +112,18 @@ jobs:
cmake --build ${{ env.BUILD_DIR }} --config ${{ inputs.build_type }} --parallel $(nproc)
- name: Package (Linux)
if: runner.os == 'Linux'
if: runner.os == 'Linux' && matrix.qt_arch == 'gcc_64'
run: |
cmake --install ${{ env.BUILD_DIR }} --prefix ${{ env.INSTALL_DIR }}/usr
echo ${{ matrix.qt_arch }}
if [ "${{ matrix.qt_arch }}" == "gcc_64" ]
cd ${{ env.INSTALL_DIR }}
then tar --owner root --group root -czf ../QFRCScouter.tar.gz *
else
mv ${{ env.BUILD_DIR }}/QFRCScouter.html ${{ env.BUILD_DIR }}/index.html
ls ${{ env.BUILD_DIR }}
tar --owner root --group root -czf QFRCScouter-WASM.tar.gz ${{ env.BUILD_DIR }}/*.{js,html,svg,wasm}
fi
cd ${{ env.INSTALL_DIR }}
tar --owner root --group root -czf ../QFRCScouter.tar.gz *
- name: Package (WASM)
if: runner.os == 'Linux' && matrix.qt_arch == 'wasm_singlethread'
run: |
mv ${{ env.BUILD_DIR }}/QFRCScouter.html ${{ env.BUILD_DIR }}/index.html
tar --owner root --group root -czf QFRCScouter-WASM.tar.gz ${{ env.BUILD_DIR }}/*.{js,html,svg,wasm}
- name: Package AppImage (Linux)
if: runner.os == 'Linux' && matrix.qt_arch == 'gcc_64'
Expand Down

0 comments on commit 19f7d81

Please sign in to comment.