Set atk/def default to 0 instead of ? #152
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: x64-linux | |
| on: push | |
| jobs: | |
| x64-linux: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| with: | |
| fetch-depth: 1 | |
| - name: Start ubuntu docker image | |
| shell: bash | |
| run: | | |
| sudo docker run --user $UID:$GID -dt --rm --name ubuntu -v $PWD:/workdir -w="/workdir" ubuntu:18.04 | |
| - name: Install dependencies | |
| run: | | |
| sudo docker exec --user 0:0 -t ubuntu apt update | |
| sudo docker exec --user 0:0 -t ubuntu apt --no-install-recommends --yes install build-essential g++ qt5-default qttools5-dev-tools | |
| - name: Qmake build | |
| run: | | |
| mkdir build | |
| sudo docker exec --user $UID:$GID -t ubuntu \ | |
| sh -c "cd build \ | |
| && qmake -o Makefile ../Datacorn.pro \ | |
| && make release -j$(nproc)" | |
| - name: Setup directory with artifacts | |
| shell: bash | |
| run: | | |
| export RDIR=Datacorn | |
| mkdir $RDIR | |
| cp build/binary/Datacorn $RDIR/ | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Datacorn | |
| path: Datacorn/ | |
| - name: Release | |
| if: ${{ github.ref == 'refs/heads/master' }} | |
| uses: svenstaro/upload-release-action@v2 | |
| with: | |
| overwrite: true | |
| asset_name: datacorn | |
| prerelease: true | |
| tag: | | |
| latest | |
| file: | | |
| Datacorn/Datacorn | |
| - name: Log Failure | |
| uses: sarisia/actions-status-discord@v1 | |
| if: failure() | |
| with: | |
| nodetail: true | |
| description: | | |
| [[${{ github.event.repository.name }}] ${{ github.job }} failed on ${{ github.ref }}](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}) | |
| title: | | |
| color: 0xff0000 | |
| webhook: ${{ secrets.DISCORD_WEBHOOK }} | |
| avatar_url: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png | |
| username: Github | |
| x64-linux-qt6: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v1 | |
| with: | |
| fetch-depth: 1 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get --no-install-recommends --yes install build-essential g++ qt6-base-dev qt6-base-dev-tools qt6-l10n-tools | |
| - name: Qmake build | |
| run: | | |
| mkdir build && cd build | |
| qmake6 -o Makefile ../Datacorn.pro | |
| make release -j2 | |
| - name: Setup directory with artifacts | |
| shell: bash | |
| run: | | |
| export RDIR=Datacorn | |
| mkdir $RDIR | |
| cp build/binary/Datacorn $RDIR/ | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Datacorn-qt6 | |
| path: Datacorn/ | |
| - name: Release | |
| if: ${{ github.ref == 'refs/heads/master' }} | |
| uses: svenstaro/upload-release-action@v2 | |
| with: | |
| overwrite: true | |
| asset_name: datacorn-qt6 | |
| prerelease: true | |
| tag: | | |
| latest | |
| file: | | |
| Datacorn/Datacorn | |
| - name: Log Failure | |
| uses: sarisia/actions-status-discord@v1 | |
| if: failure() | |
| with: | |
| nodetail: true | |
| description: | | |
| [[${{ github.event.repository.name }}] ${{ github.job }} failed on ${{ github.ref }}](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}) | |
| title: | | |
| color: 0xff0000 | |
| webhook: ${{ secrets.DISCORD_WEBHOOK }} | |
| avatar_url: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png | |
| username: Github | |
| Notify-success: | |
| runs-on: ubuntu-latest | |
| if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} | |
| needs: [ x64-linux-qt6, x64-linux ] | |
| steps: | |
| - name: Log Success | |
| uses: sarisia/actions-status-discord@v1 | |
| with: | |
| nodetail: true | |
| description: | | |
| [[${{ github.event.repository.name }}] Build Datacorn Linux success on ${{ github.ref }}](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}) | |
| title: | | |
| color: 0x0f9826 | |
| webhook: ${{ secrets.DISCORD_WEBHOOK }} | |
| avatar_url: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png | |
| username: Github |